script stopped working- no output from unserialize()
| From: | Ross | Date: | Wed, 09 Aug 2006 20:06:08 +0000 |
| Subject: | script stopped working- no output from unserialize() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-240413@lists.php.net to get a copy of this message | ||
So,
When I echo out the results from the db I get the serialized data but when I
try and pass the serialized data to the function to unserialize the output
it doesn't work - no output what-so-ever. Also when the serialized data is
sent to the function and then echoed out before it is unserialized() I get
the expected result .- eg
a:4:{i:0;s:4:"pass";i:1;s:4:"pass";i:2;s:4:"pass";
Which leads me to believe that the problem is with the php function
unserialize().
The same function works fine locally. I am working with php version 5
locally and version 4.4.2 on the remote host Could that be the problem?
R.