Posted by Al on 09/20/05 00:32
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);
Navigation:
[Reply to this message]
|