Re: processing html forms and keeping the values

From: Date: Tue, 24 Nov 2009 17:38:24 +0000
Subject: Re: processing html forms and keeping the values
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-300076@lists.php.net to get a copy of this message
Ashley Sheridan wrote:
On Tue, 2009-11-24 at 18:14 +0100, Merlin Morgenstern wrote:
Hi there, I am trying to redirect a user back to a html form if a validation failes. The form shoult then hold all entered values. So far I did this over $_GET, but there is a 100 Character limitation. How could I do this while keeping all characters? Thank you for any hint, Merlin
    
Change the form to post Thanks, Ash http://www.ashleysheridan.co.uk
This is not so easy. I am doing some checking with php on the values and if one failes php returns via GET to the form with the help of header location:
       $parameter =  "&demo=this";
       HEADER("Location:/test.html?error=1".$parameter);
       exit;
I would need to change way to many things in order to simply change to post. Isn't there another way?

« previous php.general (#300076) next »