Re: Arrays through URL

From: Date: Fri, 09 Feb 2001 10:32:37 +0000
Subject: Re: Arrays through URL
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-38929@lists.php.net to get a copy of this message
On Friday 09 February 2001 10:31, Jørg V. Bryne wrote: > check out: serialize(); > > I'm trying to pass a multi dimensional array through a url link but > > I'm having a hard time doing this. Is it actually possible? from what It's possible (with serialize), but not desirable if the array can become big (which is easy with multidim. arrays). Better: $ArrayS = serialize ($TheArray); $AKey = md5 ($ArrayS); // insert into database (key: $AKey, value: $ArrayS) $Url = $baseurl . "?key=$AKey" plus the matching reading code -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "Software is like sex: the best is for free" -- Linus Torvalds

« previous php.general (#38929) next »