[EMAIL PROTECTED] (Tristan Pretty) wrote in news:OF19FCC4A7.F49C9B83-ON80256E8B.00544E7D- [EMAIL PROTECTED]:
> if ($_SERVER['HTTP_REFERER'] == 'http://www.mysite.com/') { > // Stuff > } > > Now why does this not work? > I wanna asign varibales based on certain referers... > but this is not working? > > Any ideas why? HTTP_REFERER is empty because the page was not called from a link? Or HTTP_REFERER is empty because the browser doesn't supply the value? Echo the variable and see what you get. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php