note 85744 added to function.unserialize

From: Date: Tue, 16 Sep 2008 05:32:24 +0000
Subject: note 85744 added to function.unserialize
Groups: php.notes 
Request: Send a blank email to php-notes+get-144435@lists.php.net to get a copy of this message
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)); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 76.235.159.47 ---- Manual Page -- http://www.php.net/manual/en/function.unserialize.php Edit -- https://master.php.net/note/edit/85744 Del: integrated -- https://master.php.net/note/delete/85744/integrated Del: useless -- https://master.php.net/note/delete/85744/useless Del: bad code -- https://master.php.net/note/delete/85744/bad+code Del: spam -- https://master.php.net/note/delete/85744/spam Del: non-english -- https://master.php.net/note/delete/85744/non-english Del: in docs -- https://master.php.net/note/delete/85744/in+docs Del: other reasons-- https://master.php.net/note/delete/85744 Reject -- https://master.php.net/note/reject/85744 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144435) next »