[thelist] DB: filtering input

Joxn joxn at vernum.com
Sun Jan 21 06:54:31 CST 2001


Hi everybody,
what do I really need to filter out before I input a string into a DB?

I have PHP and mySQL at hand for this job.

These PHP functions come to my mind, but which functions should I use/do
I need or should I filter "by hand"?
QuoteMeta()
AddSlashes()
htmlEnities()
htmlSpecialChars()

Are there any sites on "insert security" that you can suggest?

Thanks in advance,
Joxn
-- 
   || //\\ \\// |\\||  ::  joxn at vernum.com  ::
 \\|| \\// //\\ ||\\|  ::      8053703      ::




More information about the thelist mailing list