Skip to content

Instantly share code, notes, and snippets.

View zacscott's full-sized avatar

Zac Scott zacscott

View GitHub Profile
@sgnyjohn
sgnyjohn / detectSQLinjection.php
Created August 7, 2010 03:51
detect SQL injection - php
<?
/********************************************
detect SQL injection php
ago/2010 - classe testada
********************************************/
class detectSQLinjection {
//******************************************
function ok() {
return count($this->er)==0;
}