By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,994 Members | 2,036 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,994 IT Pros & Developers. It's quick & easy.

how to save the element of a $_GET[] ?

P: n/a
in my application, i want to save some values obtained from $_GET[],
and do not want to update these values on successive submit action.
How to do this task ?

I have already tried with -import_request_variables(); but
failed.....

Jan 7 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Mon, 07 Jan 2008 14:47:39 +0100, pradnya <pd****@gmail.comwrote:
in my application, i want to save some values obtained from $_GET[],
and do not want to update these values on successive submit action.
How to do this task ?

I have already tried with -import_request_variables(); but
failed.....
Magic word for the week:
sessions

http://www.php.net/sessions
--
Rik Wasmus
Jan 7 '08 #2

P: n/a
pradnya wrote:
in my application, i want to save some values obtained from $_GET[],
and do not want to update these values on successive submit action.
How to do this task ?

I have already tried with -import_request_variables(); but
failed.....
Stick them in a hidden variable.
Jan 7 '08 #3

P: n/a
pradnya wrote:
>in my application, i want to save some values obtained from $_GET[],
and do not want to update these values on successive submit action.
How to do this task ?
Stick them in a hidden variable.
And security considerations teach us never to trust a hidden variable.
So how are we going to verify the hidden variable? Right. Sessions.

Regards,
--
Willem Bogaerts

Application smith
Kratz B.V.
http://www.kratz.nl/
Jan 7 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.