You could process the form in the same file
form action : <? print PHP_SELF; ?>
and in the header of the page
if ($Submit){
// YOUR ACTION HERE
}
________________________________________
Sjoerd van Oosten
Digitaal vormgever [EMAIL PROTECTED]
Datamex E-sites B.V.
http://www.esites.nl
Minervum 7368 Telefoon: (076) 5 730 730
4817 ZH BREDA Telefax: (076) 5 877 757
_______________________________________
-----Oorspronkelijk bericht-----
Van: Brandon Orther [mailto:[EMAIL PROTECTED]]
Verzonden: donderdag 15 november 2001 18:55
Aan: 'PHP User Group'
Onderwerp: [PHP] The url of the last site?
Hello,
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?
Thanks
Brandon
--
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]