|
-
October 4th, 2006, 04:26 AM
#1
Transfer of the HTML form (Get or POST) parameters
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
-
October 4th, 2006, 07:48 AM
#2
Re: Transfer of the HTML form (Get or POST) parameters
Instead of "dragging" them, as you call it, I would suggest looking into sessions.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
October 5th, 2006, 06:25 AM
#3
Re: Transfer of the HTML form (Get or POST) parameters
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|