Re: Unserialize bug?
| From: | Leon Mergen | Date: | Thu, 22 May 2003 09:43:47 +0000 |
| Subject: | Re: Unserialize bug? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148521@lists.php.net to get a copy of this message | ||
"Mike Ford" <M.Ford@lmu.ac.uk> wrote in message
news:841D90E489448A4F804E1D1B95768BF7D4609B@lis-exchange3.lmu.ac.uk...
> What are you doing with $basketarray in between serializing and
unserializing it? Are you by any chance storing it in a database and
retreiving it (and is magic_quotes_runtime On?)? Or passing it between
pages as a GET parameter (and is magic_quotes_gpc On?)?
Well, it is an array that looks like this
Array (
[0] = integer,
[1] = Array (
[0] = integer
[1] = integer
)
)
So this looks like a problem with array-in-array and then serialize it. And
I will do the stripslashes() suggestion :)
Grt,
Leon