Click to See Complete Forum and Search --> : Transfer of the HTML form (Get or POST) parameters


lontana
October 4th, 2006, 04:26 AM
Dear gurus,
I have a following problem:
In first php file, I select the HTML form parameters which I send to the second php file where few of them going to be processed and then I have to send them all to the third php file where again some of the form parameters are to be processed. Then I have top send them back to the first php file. Some of these parameters are not going to be at all processed in the whole process but I need them to be together with processed parameter. Do I have to "drag" all these parameters along the second and third step or there is a way to save them and use them when I return to the first php file?
Thank you

PeejAvery
October 4th, 2006, 07:48 AM
Instead of "dragging" them, as you call it, I would suggest looking into sessions (http://www.php.net/manual/en/ref.session.php).

szpilman
October 5th, 2006, 06:25 AM
right !

better use $_SESSION['varname']

since all session variables will remain as long as
u didnot close the session (the connection to the web)
or the session is note time out yet.

no matter how many time u change pages, the session will still remain in the server.
or u could use cookies or database

have fun :)