note 28652 added to function.serialize
| From: | bob at bobnet dot com | Date: | Sun, 19 Jan 2003 20:27:29 +0000 |
| Subject: | note 28652 added to function.serialize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42394@lists.php.net to get a copy of this message | ||
Ive had a whole lot of hell with serializing objects. The problem is that special characters such as
< > ' ~ ` etc. will screw everything up. You will need to use some form of encode and
decode function to fix this. in other words you need to str_replace all these with for example
{tildae}...
--
http://www.php.net/manual/en/function.serialize.php
http://master.php.net/manage/user-notes.php?action=edit+28652
http://master.php.net/manage/user-notes.php?action=delete+28652
http://master.php.net/manage/user-notes.php?action=reject+28652