On Sun, 02 Nov 2003 16:33:03 -0500, Lowell Allen wrote: >> I'm trying to pass an array variable from a search page to the results page >> via GET. The $NAMES variable contains an array which is obtained from the >> URL. Per a previous suggestion I've been trying SERIALIZE/UNSERIALIZE but >> can't get the variable to pass correctly. To take a look at my test files >> follow this URL... > > I have success using base64_encode before serializing an array to be passed. > Like so: > > $serial_array = base64_encode(serialize($original_array)); > > Then in the code that gets the serialized array: > > $original_array = unserialize(base64_decode($_GET["whatever"])); > > HTH
Lowell, Thank you VERY MUCH for your response. I've been messing with this problem all day and your response was the first one that actually worked. Thanx again, -- Robb Kerr Digital IGUANA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php