RE: [PHP] Passing Array through URL
| From: | Ray Hilton | Date: | Tue, 19 Jun 2001 14:18:31 +0000 |
| Subject: | RE: [PHP] Passing Array through URL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54379@lists.php.net to get a copy of this message | ||
Serialize() will do it, and POST it, dont try it on a GET, if there is
a lot of data the URL will be far far too long. I use this method for
saving variable states on the server...
Ray Hilton
-
me@rayh.co.uk
http://rayh.co.uk
-----Original Message-----
From: Reuben D Budiardja [mailto:reubendb@goshen.edu]
Sent: 19 June 2001 07:51
To: php-general@lists.php.net
Subject: [PHP] Passing Array through URL
Hello,
I have one-dimensional array with a very a lot elements (say, about
300).
What is the best way to pass it through URL? do I use something like
implode
the whole thing and then pass it, or do I use something like serialize,
or
any other way?
Thanks for any reply.
Reuben D. Budiarjda