PHP obtenez une référence

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