Re: Page has expired (with forms)

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Page has expired (with forms)
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-14095@lists.php.net to get a copy of this message
If you don't mind a long query string use the GET method in your form and echo the values of the form into the fieldds themselves so they show up when the back button is pressed, instead of an empty form: <form method="GET" action="somescript.php"> <input type="text" name="myfield" value="<?php echo"$myfield"; ?>"> <input type="submit" name="submit" value="submit"> </form> HTH Russ On Wed, 7 Nov 2001 22:13:22 +0900 Evgeny Chuykov <gecka@baik.ru> wrote: > Hi. > When using some script, that handle a form with method=post and > action="<? echo $PHP_SELF ?>", after some unsuccessful attempts (user > didn't fill some fields) using back button represents us a very colourful > screen (page has expired). How can we avoid this? > > -- > Best regards, > Evgeny mailto:gecka@baik.ru > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > #-------------------------------------------------------# "Believe nothing - consider everything" Russ Michell Anglia Polytechnic University Webteam Room 1C 'The Eastings' East Road, Cambridge e: r.j.michell@apu.ac.uk w: www.apu.ac.uk/webteam www.theruss.com #-------------------------------------------------------#

« previous php.db (#14095) next »