note 50338 deleted from function.addslashes by betz

From: Date: Mon, 26 Sep 2005 22:08:25 +0000
Subject: note 50338 deleted from function.addslashes by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-95821@lists.php.net to get a copy of this message
Note Submitter: caya ---- What I said is that if get_magic_quotes_gpc() is 1 (on) then the Get, Post and Cookie data is dirty (you have something in memory the user didn't type). You need to clean it up by calling stripslashes. The code I sent was wrong, please read the code in get_magic_quotes_gpc(), which is the place I should put this comment in the first place :-)

« previous php.notes (#95821) next »