Re: The url of the last site?

From: Date: Thu, 15 Nov 2001 18:04:38 +0000
Subject: Re: The url of the last site?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74761@lists.php.net to get a copy of this message
Brandon Orther wrote: > 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? $HTTP_REFERER In the future, the answer to such a question is always in: <?php phpinfo();?> NOTE: The existence or lack thereof of $HTTP_REFERER depends on: Your web-server being configured to provide this variable The user not surfing directly to the page Some browsers providing their previous URL, even if they *did* surf directly to the page If there is some "missing" content from <?php phpinfo();?>, the problem is not, repeat not, with PHP -- PHP passes on everything the web-server gives it. If it's not there, it's because your web-server ain't giving it. -- Like music? http://l-i-e.com/artists.htm

« previous php.general (#74761) next »