RE: [PHP] The url of the last site?
| From: | Oosten, Sjoerd van | Date: | Thu, 15 Nov 2001 17:59:36 +0000 |
| Subject: | RE: [PHP] The url of the last site? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74759@lists.php.net to get a copy of this message | ||
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 svoosten@esites.nl
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:orther@webintellects.com]
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