12-25-2007, 10:34 AM
|
#11 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
Quote:
Originally Posted by Aaron
I kinda need to get #7 done, though...
|
Dude, I've explained this to you already. The problem is simple:
- you need advanced validation which no one can pass? go with regular expressions then (after cleaning the input of malicious code);
- you don't need validation, and you wish to take any input? then use htmlspecialchars and you'll probably end up with garbage instead of a hack.
As I've said before, it only prevents bad things to happen in most cases, but doesn't provide you with validation techniques or such.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|