James Thomas Richardson wrote:
Hello all,

I'm curious to know if there are stability issues with the un/serialize
functions. I've my code, I serialize a multidimensional array to disk
and when I read it in later, 20% of the time I get errors like:

Notice: unserialize(): Error at offset 2137774 of 2137781 bytes

$save_str= base64encode($your_str);

when retrieving

$retrieve_str= base64decode($string);

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to