php get refferal
snippet in php

php get refferal

user9550

// To get what website the user came from:
$_SERVER['HTTP_REFERER']