note 106099 added to function.set-magic-quotes-runtime

From: Date: Mon, 10 Oct 2011 11:14:52 +0000
Subject: note 106099 added to function.set-magic-quotes-runtime
Groups: php.notes 
Request: Send a blank email to php-notes+get-183763@lists.php.net to get a copy of this message
You should NEVER rely on magic quotes or addslashes for security in an SQL context. You should ALWAYS use proper escape functions, such as mysql_real_escape_string. Failure to do so may result in an SQL injection vulnerability. ---- Server IP: 87.124.126.127 Probable Submitter: 82.133.80.50 (proxied: 82.133.80.50) ---- Manual Page -- http://www.php.net/manual/en/function.set-magic-quotes-runtime.php Edit -- https://master.php.net/note/edit/106099 Del: integrated -- https://master.php.net/note/delete/106099/integrated Del: useless -- https://master.php.net/note/delete/106099/useless Del: bad code -- https://master.php.net/note/delete/106099/bad+code Del: spam -- https://master.php.net/note/delete/106099/spam Del: non-english -- https://master.php.net/note/delete/106099/non-english Del: in docs -- https://master.php.net/note/delete/106099/in+docs Del: other reasons-- https://master.php.net/note/delete/106099 Reject -- https://master.php.net/note/reject/106099 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#183763) next »