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 -- 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]