note 18548 added to function.serialize

From: Date: Sun, 27 Jan 2002 19:38:09 +0000
Subject: note 18548 added to function.serialize
Groups: php.notes 
Request: Send a blank email to php-notes+get-25871@lists.php.net to get a copy of this message
There is a small error in your code, jonathan ! it's base64_encode and not base64_code. Furthermore, a nice way of handling real long arrays is to compress them; I use: Compression: $var_querystring = base64_encode(gzcompress(serialize($some_array))); Decompression: $some_array = unserialize(gzuncompress(base64_decode($var_querystring ))); -- http://www.php.net/manual/en/function.serialize.php http://master.php.net/manage/user-notes.php?action=edit+18548 http://master.php.net/manage/user-notes.php?action=delete+18548 http://master.php.net/manage/user-notes.php?action=reject+18548

« previous php.notes (#25871) next »