RE: [PHP] Referrer
You can't know the name of the script but you can know the complete URI (if available) $_SERVER['HTTP_REFERER'] Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Alex Shi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 8 October 2002 9:39 AM To: [EMAIL PROTECTED] Subject: [PHP] Referrer How can know the referrer of a script? Let's say script B is linked from script/page A. Is it possible to obtain A's name in script B? Alex -- --- TrafficBuilder Network: http://www.bestadv.net/index.cfm?ref=7029 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Referrer
How can know the referrer of a script? Let's say script B is linked from script/page A. Is it possible to obtain A's name in script B? Alex -- --- TrafficBuilder Network: http://www.bestadv.net/index.cfm?ref=7029 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Referrer
D'oh! New it would be something simple. Cheers lads. Nic "Andrey Hristov" <[EMAIL PROTECTED]> wrote in message 029b01c13148$1bcb01e0$0b01a8c0@ANDreY">news:029b01c13148$1bcb01e0$0b01a8c0@ANDreY... > or > $GLOBALS["HTTP_REFERER"]; > > Andrey Hristov > IcyGEN Corporation > http://www.icygen.com > 99% > > - Original Message - > From: "Nic Skitt" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, August 30, 2001 2:25 PM > Subject: [PHP] Referrer > > > > Hi all, > > > > What is the server variable for referrer? > > > > Cheers > > > > Nic > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Referrer
or $GLOBALS["HTTP_REFERER"]; Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Nic Skitt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 30, 2001 2:25 PM Subject: [PHP] Referrer > Hi all, > > What is the server variable for referrer? > > Cheers > > Nic > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Referrer
From: Nic Skitt <[EMAIL PROTECTED]> Date: Thu, Aug 30, 2001 at 12:25:44PM +0100 Message-ID: <[EMAIL PROTECTED]> Subject: [PHP] Referrer > Hi all, > > What is the server variable for referrer? > > Cheers > > Nic $HTTP_SERVER_VARS["HTTP_REFERER"] Check phpinfo() next time... ;) -- * R&zE: -- -- Renze Munnik -- DataLink BV -- -- E: [EMAIL PROTECTED] -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Referrer
* Nic Skitt <[EMAIL PROTECTED]> [010830 06:30]: > Hi all, > > What is the server variable for referrer? $HTTP_REFERER > > Cheers > > Nic > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Referrer
Hi all, What is the server variable for referrer? Cheers Nic -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]