note 2488 modified in function.unserialize by john

From: Date: Wed, 20 Nov 2002 02:35:29 +0000
Subject: note 2488 modified in function.unserialize by john
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-39721@lists.php.net to get a copy of this message
Under certain circumstances you might have to use stripslashes TWICE depending on what you're doing before an array is properly decoded when using querystrings with automatic slash-adding. [Editor's Note: The only reason you might have double-escaped a serialized string is if you have magic_quotes enabled and still called addslashes()] --was-- Under certain circumstances you might have to use stripslashes TWICE depending on what you're doing before an array is properly decoded when using querystrings with automatic slash-adding. http://www.php.net/manual/en/function.unserialize.php

« previous php.notes (#39721) next »