note 18548 deleted from function.serialize by sniper

From: Date: Tue, 23 Sep 2003 22:38:31 +0000
Subject: note 18548 deleted from function.serialize by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57005@lists.php.net to get a copy of this message
Note Submitter: david@nospam.me ---- 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 )));

« previous php.notes (#57005) next »