<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>PHPnow Works!</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="YinzCN" />
<meta name="reply-to" content="YinzCN@Gmail.com" />
<meta name="copyright" content="YinzCN" />
<style type="text/css">
<!--
body {
font-family : verdana, tahoma;
font-size : 12px;
margin-top : 10px;
}

form {
margin : 0;
}

table {
border-collapse : collapse;
}

.info tr td {
border : 1px solid #000000;
padding : 3px 10px 3px 10px ;
}

.info th {
border : 1px solid #000000;
font-weight : bold;
height : 16px;
padding : 3px 10px 3px 10px;
background-color : #9acd32;
}

input {
border : 1px solid #000000;
background-color : #fafafa;
}

a {
text-decoration : none;
color : #000000;
}

a:hover {
text-decoration : underline;
}

a.arrow {
font-family : webdings, sans-serif;
font-size : 10px;
}

a.arrow:hover {
color : #ff0000;
text-decoration : none;
}

.item {
white-space: nowrap;
text-align: right;
}
-->
</style>
<script type="text/JavaScript">
function $(id) { return document.getElementById(id); }

function get_ip() {
  var XMLHttp, r;
  XMLHttp = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
  XMLHttp.onreadystatechange = function() {
    if (XMLHttp.readyState == 4)
    {
      r = XMLHttp.responseText;
      if (r == 'false') $('ip_r').innerHTML = '获取外网 IP 失败!';
      else $('ip_r').innerHTML = '此服务器互联网 IP<br /><a href="http://'+r+'" style="color: #999999;">'+r+'</a>';
    }
  }
  XMLHttp.open("GET", "?act=getip", true);
  XMLHttp.send();
}
</script>
</head>
<body onload="get_ip();">
<div style="margin: 0 auto; width: 600px;">

<div style="height: 60px;">
  <div style="float: right; margin: 5px; text-align: center;">
   <div><a style="color: #ffa500;" href="http://phpnow.org/go.php?id=1005">为何只能本地访问?</a></div>
   <div id="ip_r" style="color: #999999;">正在获取 IP 地址</div>
  </div>

  <div style="float: left;">
   <div style="font-weight: bold; font-size: 2.2em;"><a href="/index.php/cn/Contact/upload/201501/about/include/templates/metx5/images/css/hminfo.css?" style="text-decoration: none;"><b style="color: #ee82ee;">w</b><b style="color: #87cefa;">w</b><b style="color: #ee82ee;">w</b><b style="color: #ffa500;">.</b><b style="color: #87cefa;">h</b><b style="color: #9acd32;">a</b><b style="color: #87cefa;">m</b><b style="color: #9acd32;">a</b><b style="color: #ee82ee;">h</b><b style="color: #ff6347;">.</b><b style="color: #ee82ee;">c</b><b style="color: #87cefa;">n</b></a></div>
   <div style="margin: 5px auto;"># Let's <b style="color: #777BB4;">PHP</b> <b style="color: #FF4500;">now</b> <b>!</b></div>
  </div>
</div>

<br />

<table width="100%" class="info">
  <tr>
    <th colspan="2">Server Information</th>
  </tr>

  <tr>
    <td class="item">SERVER_NAME</td>
    <td>www.hamah.cn</td>
  </tr>

  <tr>
    <td class="item">SERVER_ADDR:PORT</td>
    <td>127.0.0.1:80</td>
  </tr>

  <tr>
    <td class="item">SERVER_SOFTWARE</td>
    <td>Apache/2.0.63 (Win32) PHP/5.2.14</td>
  </tr>

  <tr>
    <td class="item">PHP_SAPI</td>
    <td>apache2handler</td>
  </tr>

  <tr>
    <td class="item" style="color: #ff0000;">php.ini</td>
    <td>D:\hamah\PHPnow\php-5.2.14-Win32\php-apache2handler.ini</td>
  </tr>

  <tr>
    <td class="item">网站主目录</td>
    <td>D:/hamah/PHPnow/htdocs</td>
  </tr>

  <tr>
    <td class="item">Server Date / Time</td>
    <td>2026-05-27 17:32:01 <span style="color: #999999;">(+08:00)</span></td>
  </tr>

  <tr>
    <td class="item">Other Links</td>
    <td>
    <a href='/index.php/cn/Contact/upload/201501/about/include/templates/metx5/images/css/hminfo.css?act=phpinfo'>phpinfo()</a>
    | <a href="/phpMyAdmin">phpMyAdmin</a>    </td>
  </tr>
</table>

<hr />

<table width="100%" class="info">
  <tr>
    <th colspan="2">PHP 组件支持</th>
  </tr>

  <tr>
    <td class="item">Zend Optimizer</td>
    <td><span style="color: #008000; font-weight : bold;">Yes</span> / 3.3.3</td>
  </tr>

  <tr>
    <td class="item">MySQL 支持</td>
    <td><span style="color: #008000; font-weight : bold;">Yes</span> / client lib version 5.0.90</td>
  </tr>

  <tr>
    <td class="item">GD library</td>
    <td><span style="color: #008000; font-weight : bold;">Yes</span> / bundled (2.0.34 compatible)</td>
  </tr>

  <tr>
    <td class="item">eAccelerator</td>
    <td><span style="color: #ff0000; font-weight : bold;">No</span></td>
  </tr>
</table>

<hr />

<form method="post" action="/index.php/cn/Contact/upload/201501/about/include/templates/metx5/images/css/hminfo.css">
<table width="100%" class="info">
  <tr>
    <th colspan="4">MySQL 连接测试</th>
  </tr>

  <tr>
    <td>MySQL 服务器</td>
    <td><input type="text" name="mysqlHost" value="localhost" /></td>
    <td>MySQL 数据库名</td>
    <td><input type="text" name="mysqlDb" value="test" /></td>
  </tr>

  <tr>
    <td>MySQL 用户名</td>
    <td><input type="text" name="mysqlUser" value="root" /></td>
    <td>MySQL 用户密码</td>
    <td><input type="text" name="mysqlPassword" /></td>
  </tr>

  <tr>
    <td colspan="4" align="right"><input type="submit" value="连接" name="act" /> &nbsp;</td>
  </tr>
</table>
</form>

<hr />

<p style="text-align: right; margin: 0;"><a href="http://validator.w3.org/check?uri=referer" style="color: #999999;">Valid XHTML 1.0 Strict</a> / <a href="http://zh.wikipedia.org/wiki/Copyleft" style="color: #008000;"><b>Copyleft</b></a> ! 2007-? by <a href="http://phpnow.org">PHPnow.org</a></p>

</div>
</body>
</html>