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