php get referrer info code example Example: php get refferal // To get what website the user came from: $_SERVER['HTTP_REFERER']