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

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

am 07.01.2008 14:47:39 von Pradnya

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.....

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

am 07.01.2008 14:52:54 von luiheidsgoeroe

On Mon, 07 Jan 2008 14:47:39 +0100, 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.....

Magic word for the week:
sessions

http://www.php.net/sessions
--
Rik Wasmus

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

am 07.01.2008 15:48:53 von Courtney

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.

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

am 07.01.2008 16:07:21 von Willem Bogaerts

> 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/