RE: How do I get referer in php?

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

 



Brent Clements <mailto:bclem@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
    on Wednesday, November 17, 2004 11:55 AM said:

> Let's say I have a page at another site that links to a php script on
> my server. Is there anyway to get the referrer to the php script
> using php? 

Yes, and more.

<?php

  echo "<pre>",print_r($_SERVER),"</pre>";

-- 
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