Re: Redirect via GET is loosing characters
| From: | itoctopus | Date: | Fri, 04 May 2007 00:17:38 +0000 |
| Subject: | Re: Redirect via GET is loosing characters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254379@lists.php.net to get a copy of this message | ||
You just have to store your form inputs in the session.
--
itoctopus - http://www.itoctopus.com
"Merlin" <ngroups@fastmail.fm> wrote in message
news:6A.17.21311.821F9364@pb1.pair.com...
> Hi there,
>
> I am checking plausability inside a php script that receives a POST
> submit. If an error occures the user should be redirected back, along with
> his original data filled into the forms.
>
> There is a problem with this. As the GET method, which the redirect is
> using, only allows a certain amount of characters, the text is always cut
> down.
>
> I use this:
> HEADER("Location:".$data[rurl]."?error=".$error.$parameter);
>
> Is there a way to redirect the user to the form and fill in large text?
>
> Thank you for your help,
>
> Best regards, Merlin