|
Posted by kenoli on 11/14/06 15:22
Does anyone have experience using a shared memory block (the schmop
extension) for this?
I presume with "GET", each key=value pair needs to be sent
individually, which, for a large array would make the URL quite long.
Is there a limit for the length of a URL? It seems impractical to send
a very long one.
Regarding using sessions for this, I presume one can use a while or for
each loop to set the $_SESSION array. Another advantage of the session
option is that it creates a "sticky form" for the user.
--Kenoli
J.O. Aho wrote:
> aaron.reese@tiscali.co.uk wrote:
> > or append the variables to the end of the href URL as
> > www.callthispage.co.uk/callthispage.html?variable1=999&variable2=XYZ
> >
> > You can then strip them off in the receiving page using $HTTP_GET_VARS
> > and use them in the same way as you would $_POST values.
>
> You should always use $_GET over $HTTP_GET_VARS, which is deprecated and will
> with release of PHP 6 be gone for good (PHP 5 can enable this, but default
> turned off).
>
>
> //Aho
Navigation:
[Reply to this message]
|