public function phpCommandLineExec() { $this->resourse = false; $this->data['h1'] = 'PHP command line'; ob_start(); $query = rtrim($_POST['query'], "; \n") . ";\n"; eval($query); $this->data['content'] = ob_get_contents(); ob_get_clean(); }