Using $HTTP_REFERER

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Daniel
-


Joined: 24 Jun 2003
Posts: 12
Location: Concord, NC

PostPosted: Thu Jul 10, 2003 2:04 am    Post subject: Using $HTTP_REFERER Reply with quote

Okay... I'm making a php page...

It shows:
Notice: Undefined variable: HTTP_REFERER in C:\Program Files\Abyss Web Server\htdocs\info.php on line 145

when I try to use

$HTTP_REFERER

in my page to show where the person came from..

How do I make this work?
_________________
--Daniel
http://forums.pastrealm.com
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Jul 10, 2003 3:44 pm    Post subject: Re: Using $HTTP_REFERER Reply with quote

Please use $_SERVER ['HTTP_REFERER'] instead of $HTTP_REFERER only. PHP changed the way variables should be named (please refer to PHP documentation for more help about the new variables naming convention).
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group