Forum Moderators: coopster
$myArray = array('1','2','3');
$serialized = serialize($myArray);
$encoded = base64_encode();
Then to restore it use base64_decode() and unserialize.
Is that what you were trying to achieve, or were you looking to base64_encode each element in the array? If you were, probably the best way is to use array_walk().
Maybe instead of passing them through the URL you could pass them through session variables. It would take away the problem of 'ultra' huge URLS.