|
Posted by Jay Blanchard on 12/05/05 21:12
[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
Navigation:
[Reply to this message]
|