Taylor, Stewart wrote:
> I'm fetching a serialized array from a database but when I call
> unserialize() the function returns false.
>
> Any suggestions as to why unserialize is returning false?

I once had this problem when I serialized an array which contained a 
variable from global namespace which was empty, but only when switching 
from HTTP to HTTPS.

The serialized array had one entry with value "N" (no type or length), 
which couldn't be unserialized.
Checking if the variable had a value and assigning 0 if not before 
putting it into the array solved the problem.

regards
Wagner

-- 
'When the computer industry is at a low, beer drinking is at a high.' 
Jon 'maddog' Hall said.
By combining both industries into a single course you can make sure you 
always have a job.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to