RE: [PHP] String Validation / SQL Injection Vulnerbilities

From: Date: Mon, 05 Dec 2005 19:12:34 +0000
Subject: RE: [PHP] String Validation / SQL Injection Vulnerbilities
Groups: php.general 
Request: Send a blank email to php-general+get-226893@lists.php.net to get a copy of this message
[snip] I want to validate a string for storage into a database so that it cannot contain any content that might be interpreted as SQL, Javascript, PHP, etc. Is there a standard function or technique to perform this validation? [/snip] The technique is regex (regular expressions), start here http://us2.php.net/regex

« previous php.general (#226893) next »