Re: Header() - POST

From: Date: Wed, 10 Sep 2008 22:32:24 +0000
Subject: Re: Header() - POST
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-279826@lists.php.net to get a copy of this message
On Wed, Sep 10, 2008 at 2:51 PM, tedd <tedd.sperling@gmail.com> wrote: > At 10:14 AM -0700 9/5/08, mike wrote: >> >> if you want to re-post data you need to look at a client-side >> alternative using javascript (or applets - flash, java, etc) > > OR just use hidden input. > > I do that with forms that gather pages of data. You keep submitting the same > page over and over gathering the different sets of the data you need and > then forwarding the data you gathered from previous pages via a hidden input > OR a SESSION. can't re-post data without something triggering it... that was what i was saying. in your case, the user is hitting submit again, or javascript is triggering the submit on a form completion. but you can't just POST data without something forcing it.

« previous php.general (#279826) next »