易截截图软件、单文件、免安装、纯绿色、仅160KB

php显示服务器时间代码

<div id="time" align="center">time </div> 
<script language="javascript">
function time1()
{
var now,n,y,r,h,m,s;
now=new Date();
n = now.getYear();
y = now.getMonth()+1;
r = now.getDate();
h = now.getHours();
m =now.getMinutes();
s = now.getSeconds();
if(y <10) y="0"+y;
if(r <10) r="0"+r;
if(h <10) h="0"+h;
if(m <10) m="0"+m;
if(s <10) s="0"+s;
document.getElementById("time").innerHTML="现在时间是:"+ n + "-" + y + "-" + r + " "+ h + ":" + m + ":" + s;
setTimeout("time1();", 1000);
}
time1();
</script>


相关文档:

ubuntu 下 搭建 apache+php+mysql


#apt-get install apache2
//安装apahce2
#apt-get install php5
//安装php5
#apt-get install mysql-server
//安装mysql服务端
#apt-get install  mysql-myclient
//安装mysql的客户端
#apt-get install php-mysql
//安装php-mysql的连结
apache+php+mysql 环境已经搭建好了
将以下的服务重启一下
#/et ......

PHP EXTENDS 小记

<?php
/*
 * Created on 2009-10-23
 * 分子如梦o(╯□╰)o
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
class people
{
    private  $name;
    pu ......

PHP开发常见问题解决列表

PHP开发常见问题解决列表
1. 学习Zend Framework tutorial过程中的问题
(1)执行"zf create project zf-tutorial"出现如下错误:
     '"php.exe"' is not recognized as an internal or external command, operable program or batch file.
     解决办法:原因是因为php.ex ......

PHP网站开发方案(开发新人必读)


                 PHP网站开发方案(开发新人必读)
一、开发成员
a)项目主管
b)页面美工
c)页面开发
d)服务端程序开发
e)系统与数据管理
f)测试与版本控制
二、 网站组开发简明流程
三、 开发工具与环境
a)服务器配置
i. W ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号