/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
class Input { static public function check_magic_quotes() { { $_GET = Input::fix_slashes($_GET); $_POST = Input::fix_slashes($_POST); $_SERVER = Input::fix_slashes($_SERVER); } } static public function fix_slashes($arr) { { foreach ($arr as $k => $v) { } return $arr; } else { } } static public function get($key = '', $default = null) { } static public function post($key = '', $default = null) { } static public function cookie($key = '', $default = null) { } static public function server($key = '', $default = null) { } static public function session($key = '', $default = null) { } }
Comments
