Re: passing ARRAYs through GET strings
| From: | Richard Baskett | Date: | Sat, 18 May 2002 19:11:30 +0000 |
| Subject: | Re: passing ARRAYs through GET strings | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98281@lists.php.net to get a copy of this message | ||
Well what I normally do to pass very large arrays through strings.. when NOT
using sessions, I use serialize, but it sounds like you didn¹t want to
serialize.. If you give me an idea of what you are doing I might be able to
figure out the best way to pass those variables :)
And no you don't need to serialize the data when using sessions. Sessions
themselves are serialized automatically, you don¹t need to worry about that..
Rick
"We do not have to visit a mad house to find disordered minds; our planet is
the mental institution of the universe." - Unknown
> From: "Navid Y." <superbus22@attbi.com>
> Reply-To: <superbus22@attbi.com>
> Date: Sat, 18 May 2002 13:51:38 -0500
> To: <php-general@lists.php.net>
> Subject: RE: [PHP] passing ARRAYs through GET strings
>
> Thanks SP and Richard,
>
> Well, I tested it and it works fine with sessions, without serializing
> it. The only problem with sending it through GET url strings is that you
> can only send about 255 characters of data through to the next page. I
> was just looking to see how others pass their array values through their
> URLs. So far sessions is a winner, but maybe there's another way. Like
> what Richard suggested. But that method seems too time consuming and
> will be confusing later on since it uses enumerated arrays. Just need
> some suggestions and hints. :)
>
> -----Original Message-----
> From: SP [mailto:internetracer@yifan.net]
> Sent: Saturday, May 18, 2002 1:31 PM
> To: superbus22@attbi.com; php-general@lists.php.net
> Subject: RE: [PHP] passing ARRAYs through GET strings
>
>
> Hi Navid
>
> Don't you have to serialize it to put it in
> sessions?
>
> -----Original Message-----
> From: Navid Y. [mailto:superbus22@attbi.com]
> Sent: May 18, 2002 2:26 PM
> To: php-general@lists.php.net
> Subject: [PHP] passing ARRAYs through GET strings
>
>
> Hello :)
>
> Can anyone suggest of another way, an easier way,
> to send arrays through
> get strings, or through any other process, without
> having to serializing
> it? For example, would it be better to use
> sessions in this case? Any
> help would be greatful, thanks. :)
>
> Navid
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit:
> http://www.php.net/unsub.php
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.361 / Virus Database: 199 - Release
> Date: 07/05/02
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.361 / Virus Database: 199 - Release
> Date: 07/05/02
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>