RE: [PHP] How can obtain referer's name?

2002-05-12 Thread Philip Olson
REFERER even if register_globals = off as it will then be created. See also: http://www.php.net/manual/en/language.variables.predefined.php Regards, Philip Olson > -Original Message- > From: Alex Shi [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 10:48 AM > To: [EM

RE: [PHP] How can obtain referer's name?

2002-05-12 Thread Richard Archer
At 10:49 AM +1000 13/5/02, Martin Towell wrote: >if you have the globals setting in your ini file set to "on" then you can >use: $HTTP_REFERER Watch out though... the HTTP_REFERER data is provided by the user and cannot be trusted. It can't even be guaranteed to exist. If all the pages are on th

RE: [PHP] How can obtain referer's name?

2002-05-12 Thread Martin Towell
ED]] Sent: Monday, May 13, 2002 10:48 AM To: [EMAIL PROTECTED] Subject: [PHP] How can obtain referer's name? Hi! I want to know how can a script obtain the page name where it was linked. e.g., there's a link on page.html, and the link points to script.php, how can script.php know the n

[PHP] How can obtain referer's name?

2002-05-12 Thread Alex Shi
Hi! I want to know how can a script obtain the page name where it was linked. e.g., there's a link on page.html, and the link points to script.php, how can script.php know the name of page.html? Thanks in advance for all answer! Alex -- PHP General Mailing List (http://www.php.net/) To unsub