$info = array(
'系统类型及版本号'=>php_uname(),
'语言'=>$_SERVER['HTTP_ACCEPT_LANGUAGE'],
'端口'=>$_SERVER['SERVER_PORT'],
'占用内存'=> round(memory_get_usage()/1024/1024, 2).'MB',
'剩余空间'=> round(disk_free_space("/")/1024/1024/1024, 2).'GB',
'服务器系统目录'=>$_SERVER['DOCUMENT_ROOT'],
'服务器域名/IP'=>$_SERVER['SERVER_NAME'].' [ '.gethostbyname($_SERVER['SERVER_NAME']).' ]',
'服务器时间'=>date("Y年n月j日 H:i:s"),
'运行环境'=>$_SERVER["SERVER_SOFTWARE"],
'PHP版本'=>PHP_VERSION,
'进程用户名'=>Get_Current_User(),
'PHP运行方式'=>php_sapi_name(),
'上传附件限制'=>ini_get('upload_max_filesize'),
'执行时间限制'=>ini_get('max_execution_time').'秒',
'register_globals'=>get_cfg_var("register_globals")=="1" ? "ON" : "OFF",
'magic_quotes_gpc'=>(1===get_magic_quotes_gpc())?'YES':'NO',
'magic_quotes_runtime'=>(1===get_magic_quotes_runtime())?'YES':'NO',
);
后台系统配置详情