hi list,
I am looking for code for sanitizing each and every input for SQL injection
and XSS in PHP

I need a function say sanitize(<input>), where <input> would be a
value which user is supplying in
the web page.

this sanitize function should return the sanitized value after
removing all possible sql injection
and xss strings.


another way could be, sanitize(input) should return true (if no
malicious string found) or false (if some malicious string is found)

any help is appreciated.

regards
abhi
_______________________________________________
Owasp-delhi mailing list
Owasp-delhi@lists.owasp.org
https://lists.owasp.org/mailman/listinfo/owasp-delhi

Reply via email to