<html>
<title>系统信息</title>

主机名 (IP:端口)：<?=$_SERVER['SERVER_NAME']?>(<?=$_SERVER['SERVER_ADDR'].":".$_SERVER['SERVER_PORT']?>)<br>

程序目录：<?=__FILE__?><br>

Web服务器：<?=$_SERVER['SERVER_SOFTWARE']?><br>
PHP 运行方式：<?=PHP_SAPI?><br>
PHP版本：<?=PHP_VERSION?><br>
MySQL 版本：<?=function_exists("mysql_close")?mysql_get_client_info():NO?><br>
GD库版本：<?php $gd = gd_info(); echo $gd['GD Version'] ? $gd['GD Version'] : "不支持!";?><br>
Zend Optimizer：<?=defined("OPTIMIZER_VERSION")?OPTIMIZER_VERSION:NO?><br>
最大上传限制：<?=ini_get('file_uploads') ? ini_get('upload_max_filesize') : '<span style="color:red">Disabled</span>';?><br>
FreeType：<?=$gd['FreeType Support'] ? '<span style="color:green">Supported</span>' : '<span style="color:red">Notsupported</span>'?><br>
远程文件获取：<?=ini_get('allow_url_fopen') ? '<span style="color:green">Supported</span>' : '<span style="color:red">Not supported</span>'?><br>

</html>

