RE: [PHP4BETA] hidden variables !<form>
[email protected] (Sam Liddicott) Tue, 6 Jun 2000 16:53:22 +0100
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <1BA767B24DF7D3119BCB00508B6DC26C2610AD@CONGO> |
Use a serialized hash to store the old values, and pass that one hash from page to page. Each page adds new values to the hash and then re-serialises the hash to put it in the hidden field. I usually move within different portions of the same page, so if a submission was incomplete I can easily show the section that still needs completing. Sam > -----Original Message----- > From: Douglas Clifton [mailto:[email protected]] > Sent: Tuesday, June 06, 2000 07:47 > To: [email protected] > Subject: [PHP4BETA] hidden variables !<form> > > > I'm just getting started using PHP and was wondering > if anyone could help with the following problem. > > I want to set up a series of pages: > > enter->next->next... > > that pass several hidden variables through from page to > page w/o using forms or cookies. > > GET variables are passed via the URL and are thus not > suitable as they most definitely are visible. Cookies > would work fine, but so many folks out there are paranoid > about them that they would be unreliable. > > This is in a Debian Linux environment using PHP v4.0 > compiled as an Apache module using the Zend optimizer. > > Thanks, > > -- > Douglas Clifton > Unix/C/Perl/CGI/SQL/HTML Programmer > [email protected] > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > To contact the list administrators, e-mail: > [email protected] >