Home  >  Article  >  php教程  >  phpnow php探针环境检测代码

phpnow php探针环境检测代码

WBOY
WBOYOriginal
2016-06-06 20:18:531598browse

这篇文章主要为大家分享了phpnow php探针环境检测代码,需要的朋友可以参考下

'.$d.''; $l = $k; } return implode('', $a); } function get_ea_info($name) { $ea_info = eaccelerator_info(); return $ea_info[$name]; } function get_gd_info($name) { $gd_info = gd_info(); return $gd_info[$name]; } define('YES', 'Yes'); define('NO', 'No'); ?>

PHPnow Works!
正在获取 IP 地址
# Let's PHP now !

Server Information
SERVER_NAME
SERVER_ADDR:PORT
SERVER_SOFTWARE
PHP_SAPI
php.ini
网站主目录
Server Date / Time ()
Other Links ?act=phpinfo'>phpinfo() | phpMyAdmin' : 'PHPnow.org'?>

PHP 组件支持
Zend Optimizer
MySQL 支持
GD library
eAccelerator

MySQL 连接测试
MySQL 服务器 MySQL 数据库名
MySQL 用户名 MySQL 用户密码
 

OK ('.mysql_get_server_info($link).')'; else $str1 = 'Failed
'.mysql_error(); ?>
MySQL 测试结果
服务器
数据库 OK':'Failed'?>

Valid XHTML 1.0 Strict / Copyleft ! 2007-? by PHPnow.org

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn