private function filter() { $input = Filter::run(strip_tags(parent::getVar('input'))); $find = array(' ', '#', '?', '&', '.', '!', '"', '§', '$', '%', '(', ')', '=', '*', '+', '~', '-', ':', ';', '>'); $input = str_replace($find, '', $input); echo $input; }
public function __construct() { switch (parent::getVar('ctl')) { case 'instagram': require_once 'controller/instagram/index.php'; break; default: require_once 'controller/instagram/index.php'; break; } new controller(); }