Re: Unserialize Errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux