Re: [PHP] diplaying the path

2002-05-31 Thread Philip Olson
e" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Friday, May 31, 2002 11:03 AM > Subject: Re: [PHP] diplaying the path > > > > actually: > > > > If the php directive register_globals is on, then > > $HTTP_REFERER will exist. Otherwise it will

Re: [PHP] diplaying the path

2002-05-31 Thread Jim lucas
AIL PROTECTED]> Cc: "Kris Vose" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 11:03 AM Subject: Re: [PHP] diplaying the path > actually: > > If the php directive register_globals is on, then > $HTTP_REFERER will exist. Otherwise it will

Re: [PHP] diplaying the path

2002-05-31 Thread Philip Olson
actually: If the php directive register_globals is on, then $HTTP_REFERER will exist. Otherwise it will not. (or course that assumes a value exists at all). Regardless of the register_globals setting, you can do: // Works since PHP 3 (forever)* print $HTTP_SERVER_VARS['HTTP_REFERER'];

Re: [PHP] diplaying the path

2002-05-31 Thread Jim lucas
depending on what version of php you are running, you can use $GLOBALS['HTTP_REFERER'] or on newer versions you can use $_SERVER['HTTP_REFERER'] Jim Lucas - Original Message - From: "Kris Vose" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 9:19 AM Subject: [PHP] d