已开启'); define('NO', '未开启'); if ($_POST['mysqlPort']=="") { $host="127.0.0.1"; } else { $host="127.0.0.1:".$_POST['mysqlPort']; } $Info = array(); $Info['php_ini_file'] = function_exists('php_ini_loaded_file') ? php_ini_loaded_file() : '[undefine]'; $mcrypt = get_extension_funcs('mcrypt') ? YES : NO; $xmlrpc = get_extension_funcs('xmlrpc') ? YES : NO; $fileinfo = get_extension_funcs('fileinfo') ? YES : NO; $ftp = get_extension_funcs('ftp') ? YES : NO; $link = @mysqli_connect($host, $_POST['mysqlUser'], $_POST['mysqlPassword']); $errno = mysqli_connect_errno(); $pinfo = $rand; $up_start = micro_time_float(); if (_GET($pinfo) == 'phpinfo') { if (function_exists('phpinfo')) phpinfo(); else echo "PHPINFO函数已被禁用无法正常显示详细信息!"; exit; } ?>