php class SQLInjectionMySQLDum protected ch method public function __c

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<?php
class SQLInjectionMySQLDump {
protected $ch, $method;
public function __construct() {
return $this;
}
public function setMethod($method='GET') {
if(preg_match('/get|post/i', $method)) {
$this->method = strtoupper($method);
return $this;
}
return false;
}
}