[support] sanitizing text box input for sql searches (custom search)
spartaguy spartaguy
spartaguy300 at gmail.com
Tue Mar 2 23:08:19 UTC 2010
Hello,
I want to use the data from a textbox input to do a select statement on a
sql db.
Are there any inbuilt methods that drupal uses to sanitize textbox inputs?
I'm worried if I accept data in a textbox and apply it to an sql command it
will do bad stuff (tm).
Is there a simple code snippet or module for sanitizing?
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100303/1c269d44/attachment.html
More information about the support
mailing list