> 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 Allen

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to