PDA

View Full Version : HTTP_REFERER assumed 'uinfo'


Bt4
02-02-2012, 01:20 AM
Hello
i have this problem from much of websites

Notice: Undefined index: HTTP_REFERER in /var/www/user/data/www/site.com/includes/classes/userClass.php on line 109

Notice: Use of undefined constant uinfo - assumed 'uinfo' in /var/www/user/data/www/site.com/includes/interface.php

i have search on google but i ddt find any way to fix that
also i upgrade my php to 3 and i dongrade to old versions but i have some problem yet

plesae help me to fix this problem

thanks

slava
02-02-2012, 01:29 PM
This is error in scripts, you should use
if(isset($_SERVER["HTTP_REFERER"]))$refer=$_SERVER["HTTP_REFERER"]);

or disable notices in php.ini