09-29-2005, 03:05 PM
|
#1 |
Join Date: Feb 2005 Real Name: Idan Location: Israel | sanitize input for sql | | hey,
just wondered if anyone (willing to share ideas) has some nice super-efficient algo function that has strong input sanitization, to avoid "melware" code that could lead to potential security breach and/or sql injection ?
Usually i use "normal" functions combinations like: striptags, addslashes & preg_replace, to replace any "known" bad chars & "bad words".
i would love to see what other suggsestons other might have (all needed is concept, not necessarily the code itself).
greets.
| |