note 54837 deleted from security.magicquotes by danbrown

From: Date: Fri, 13 Mar 2009 20:29:43 +0000
Subject: note 54837 deleted from security.magicquotes by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-151850@lists.php.net to get a copy of this message
Note Submitter: ---- Bright minds will have noticed, that one uses stripslashes() once on the input and saves that content for further processing. Then use addslashes() once before sending the content to the database or flat file. Hint: if the application is using a MySql database, don't use addslashes() but mysql_real_escape_string().

« previous php.notes (#151850) next »