get = $_GET; $this->post = $_POST; $this->cookie = $_COOKIE; $this->files = $_FILES; $this->server = $_SERVER; if(isset($_SERVER['REQUEST_URI'])) { $this->fixed_request_uri = preg_replace("/\/([\w]+)\.php\?{0,1}/", "", $_SERVER['REQUEST_URI']); } } } class Session { public function __construct() { //session_start(); } public function get($s = '') { if($s && isset($_SESSION[$s])) { return $_SESSION[$s]; } return ''; } public function set($k = '', $v = '') { if($k) { $_SESSION[$k] = $v; } } } ?>