note 85744 deleted from function.unserialize by aharvey

From: Date: Tue, 06 Nov 2012 01:35:36 +0000
Subject: note 85744 deleted from function.unserialize by aharvey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-191719@lists.php.net to get a copy of this message
Note Submitter: ogjuiceloc at yahoo dot com ---- Good time saving post by campbell at vertesi dot com on 24-May-2008 01:52 for how base64_encode is needed before storing as mySQL text. The order of unserializing is reversed however as you need to call base64_decode before unserialize. Example: <?php $unserialized_array = unserialize (base64_decode($serialized_array)); ?>

« previous php.notes (#191719) next »