RE: [PHP] Form Actions

From: Date: Tue, 30 Sep 2003 08:41:57 +0000
Subject: RE: [PHP] Form Actions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-164351@lists.php.net to get a copy of this message
> -----Original Message----- > From: Shaun [mailto:shaun@mania.plus.com] > > Hi, > > I have a number of forms on my site, and each form can be > accessed from a number of different pages. Can anyone suggest > a way I can monitor this so that when the submit button is > pressed the user is returned to the page they were on before. > This is also complicated by the fact that I have a system > that returns the user to the same page if there are errors on > the form... > I do this by passing a hidden value in the post. The value can identify anything you like, on mine it identifies the domain the form was submitted from (though thinking about this now I can do this without a hidden value, but you get the idea!). The problem with this is that it means you have to have a separate copy of each form unless you can construct the hidden input value using other variables. Cheers, Greg. -- Greg Wiley http://wileysworld.org/ ------------------------------------------------------------ Mail was checked for spam by the Freeware Edition of No Spam Today! The Freeware Edition is free for personal and non-commercial use. You can remove this notice by purchasing a full license! To order or to find out more please visit: http://www.no-spam-today.com

« previous php.general (#164351) next »