| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		Daniel -
 
  Joined: 24 Jun 2003 Posts: 12 Location: Concord, NC
  | 
		
			
				 Posted: Thu Jul 10, 2003 2:04 am    Post subject: Using $HTTP_REFERER | 
				      | 
			 
			
				
  | 
			 
			
				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 | 
		
			              | 
		
	
	
		  | 
	
	
		aprelium -
 
  Joined: 22 Mar 2002 Posts: 6800
 
  | 
		
			
				 Posted: Thu Jul 10, 2003 3:44 pm    Post subject: Re: Using $HTTP_REFERER | 
				      | 
			 
			
				
  | 
			 
			
				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 | 
		
			           | 
		
	
	
		  | 
	
	
		 |