Forum Moderators: coopster
<?php $testvar = $_SERVER['REFERER']; echo $testvar; ?>
For some reason this produces the error 'Notice: Undefined index: REFERER in /web/apple/adduser.php on line 2'.
Any help would be appreciated.
Thank You
echo $_SERVER['HTTP_REFERER'];
Predefined Variables [us2.php.net].
Also, if you just upgraded, did you upgrade to PHP 5.2.0 [webmasterworld.com]? ;)
[edited by: eelixduppy at 3:46 am (utc) on Nov. 14, 2006]
Thanks