note 49704 added to function.unserialize

From: Date: Sat, 05 Feb 2005 18:20:20 +0000
Subject: note 49704 added to function.unserialize
Groups: php.notes 
Request: Send a blank email to php-notes+get-84560@lists.php.net to get a copy of this message
I got the same case as yabba at the dot hut with his post >> caveat: stripslashes!!! In my server configutation the magic_quotes_gpc is on therefore it will automatically escape ' (single-quote), " (double quote), \ (backslash) and NUL's with a backslash. And the stripslashes is the workaround for my case as well. Erwin ---- Manual Page -- http://www.php.net/manual/en/function.unserialize.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49704 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49704&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49704&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49704&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49704&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49704&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49704&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#84560) next »