📄 notice.php
字号:
<?PHP/* [BBWPS!] (C)2006-2010 小蜜蜂版权所有. This is NOT a freeware, use is subject to license terms*/error_reporting(0);require_once("../class/http_class.php");require_once("../function/checkBaseSession.php");require_once("../config.php");require_once("../class/mysql_class.php");require_once("../function/function.php");require_once("../config/baseCheckCode.php");require_once("../class/template_class.php");if(file_exists("../data/module.php")){ include_once("../data/module.php");}checkBaseSession("../$session/");function isfun($functionName){ if(function_exists($functionName)){ return "<font color=\"green\">是</font>"; } else{ return "<font color=\"red\">否</font>"; }}function getcon($varName){ switch($res = get_cfg_var($varName)){ case 0: return "<font color=\"red\">否</font>"; break; case 1: return "<font color=\"green\">是</font>"; break; default: return $res; break; } }if($_GET["action"]=="info"){ phpinfo(); exit;}?><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><link href="./template/css/style.css" rel="stylesheet" type="text/css"><title>小蜜蜂商务网站门户系统[BBWPS] - Powered by BBWPS.COM</title></head><body><table cellpadding="0" cellspacing="0" border="0" width="100%" height="10"> <tr> <td ></td> </tr></table><table border=0 cellspacing=1 class="tableborder"> <th>系统公告</th> <tr> <td width="100%" height="20"align="center" class="tablerowhighlight"><?=$content=openFileRemote("http://www.bbwps.com/ver/bbwps.php?url=".$_SERVER['HTTP_HOST'])?></td> </tr></table><br> <table border=0 cellspacing=1 align=center class=tableborder> <tr> <th colspan=2 class="tablerowhighlight">当前服务器参数</th> <th colspan=2 class="tablerowhighlight">当前环境组件支持信息</th> </tr> <tr> <td class="tablerow" width="20%">服务器名</td> <td class="tablerow" width="40%"><?= $_SERVER['HTTP_HOST']?></td> <td class="tablerow" width="20%">mysql数据库</td> <td class="tablerow" width="20%"><?= isfun("mysql_query")?></td> </tr> <tr> <td class="tablerow" width="20%">服务器IP</td> <td class="tablerow" width="40%"><?=@gethostbyname($_SERVER['SERVER_NAME'])?></td> <td class="tablerow" width="20%">odbc数据库</td> <td class="tablerow" width="20%"><?= isfun("odbc_exec")?></td> </tr> <tr> <td class="tablerow" width="20%">服务器端口</td> <td class="tablerow" width="40%"><?= $_SERVER['SERVER_PORT']?></td> <td class="tablerow" width="20%">SQL Server数据库</td> <td class="tablerow" width="20%"><?= isfun("mssql_query")?></td> </tr> <tr> <td class="tablerow" width="20%">服务器时间</td> <td class="tablerow" width="40%"><?=date("Y年m月d日H时i分s秒",time())?></td> <td class="tablerow" width="20%">Msql数据库</td> <td class="tablerow" width="20%"><?=isfun("msql_close")?></td> </tr> <tr> <td class="tablerow" width="20%">PHP版本</td> <td class="tablerow" width="40%"><?=PHP_VERSION ?></td> <td class="tablerow" width="20%">SMTP</td> <td class="tablerow" width="20%"><?=isfun("mail")?></td> </tr> <tr> <td class="tablerow" width="20%">WEB服务器版本</td> <td class="tablerow" width="40%"><?=$_SERVER['SERVER_SOFTWARE']?> </td> <td class="tablerow" width="20%">GD库V2支持</td> <td class="tablerow" width="20%"><?=isfun("imagecreatetruecolor")?></td> </tr> <tr> <td class="tablerow" width="20%">服务器操作系统</td> <td class="tablerow" width="40%"><?=$_ENV["OS"]?></td> <td class="tablerow" width="20%">XML</td> <td class="tablerow" width="20%"><?=isfun("xml_set_object")?></td> </tr> <tr> <td class="tablerow" width="20%">脚本超时时间</td> <td class="tablerow" width="40%"><?=getcon("max_execution_time")?> S</td> <td class="tablerow" width="20%">FTP</td> <td class="tablerow" width="20%"><?=isfun("ftp_login")?></td> </tr> <tr> <td class="tablerow" width="20%">站点物理路径</td> <td class="tablerow" width="40%"><?=$_SERVER['SCRIPT_FILENAME']?></td> <td class="tablerow" width="20%">Sendmail</td> <td class="tablerow" width="20%"><?=isfun("mail")?></td> </tr> <tr> <td class="tablerow" width="20%">脚本上传文件大小限制</td> <td class="tablerow" width="40%"><?=getcon("upload_max_filesize")?></td> <td class="tablerow" width="20%">显示错误信息</td> <td class="tablerow" width="20%"><?=getcon("display_errors")?></td> </tr> <tr> <td class="tablerow" width="20%">POST提交内容限制</td> <td class="tablerow" width="40%"><?=getcon("post_max_size")?></td> <td class="tablerow" width="20%">使用URL打开文件</td> <td class="tablerow" width="20%"><?=getcon("allow_url_fopen")?></td> </tr> <tr> <td class="tablerow" width="20%">脚本运行时可占最大内存</td> <td class="tablerow" width="40%"><?=getcon("memory_limit")?></td> <td class="tablerow" width="20%">ZEND支持</td> <td class="tablerow" width="20%"><?=(get_cfg_var("zend_optimizer.optimization_level")||get_cfg_var("zend_extension_manager.optimizer_ts")||get_cfg_var("zend_extension_ts")) ?"<font color=\"green\">是</font>":"<font color=\"red\">否</font>"?></td> </tr> <tr> <td class="tablerow" width="20%">Socket支持</td> <td class="tablerow" width="40%"><?=isfun("fsockopen")?></td> <td class="tablerow" width="20%">压缩文件支持(Zlib)</td> <td class="tablerow" width="20%"><?=isfun("gzclose")?> <a href="?action=info">查看服务器详细信息</a></td> </tr> </table></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -