It's in the $HTTP_REFERER variable (speeling mistake intentional)

Be warned, though - not every browser supplies this in every circumstance.


-----Original Message-----
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: 15 November 2001 17:55
To: 'PHP User Group'
Subject: [PHP] The url of the last site?

I am trying to have a script that process a form and then sends the
person back to the form they were on if there are errors.
Does anyone know how I can get the url of the form that someone submit
to the script from?

'The information included in this Email is of a confidential nature and is 
intended only for the addressee. If you are not the intended addressee, 
any disclosure, copying or distribution by you is prohibited and may be 
unlawful. Disclosure to any party other than the addressee, whether 
inadvertent or otherwise is not intended to waive privilege or confidentiality'


PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to