Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- Sql Injection virus problem.


UrsB - 1:35 pm on May 30, 2008 (gmt 0)


Thanks a lot to wingnut for the RegExp-Expression :)

I had to change it a little though (maybe, because I'm using an ancient ASP-Version?).

wingnut uses the «¦»-Sign to separate the values in the regex - which didn't work for me - I exchanged it with «¦» (Pipe) which did the job...

I would also like to know if theres a smiliar way to sanitize POST-Vars like this?
In PHP, I could simply run through all the key/var-pairs in the $_POST-Array ... how would I do this in ASP?

Thanks a lot for your help...


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/3657200.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com