Hi
  use 

Print $_SERVER['HTTP_REFRER'];

But some time browser do not send it properly so please check it with
another browser if fails.

Zareef Ahmed 


-----Original Message-----
From: John Holmes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 3:39 AM
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] How do I get referer in php?


John Nichel wrote:
> M. Sokolewicz wrote:
> 
>>> I'm sure he meant
>>>
>>> echo '<pre>',print_r($_SERVER,1),'</pre>';
> 
>             ---^                ---^
> 
>>> then... ;)
>>>
>> hadn't noticed that param... I feel ashamed... :$
>>
> Didn't notice that those were commas and not periods either, eh? ;)

Didn't notice the result is the same either way, eh? ;)

-- 

---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals - www.phparch.com

-- 

------------------------------------------------------------------------
--
Zareef Ahmed :: A PHP develoepr in Delhi ( India )
Homepage :: http://www.zasaifi.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to