RE: How do I get referer in php?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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:holmes072000@xxxxxxxxxxx] 
Sent: Thursday, November 18, 2004 3:39 AM
Cc: php-general@xxxxxxxxxxxxx
Subject: Re:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux