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

PHP安装步骤(以apache 2 + php5.3为例)

1.     
Download Apache for windows MSI
file, and run it
By
default, port is 80, root dir is %apache_dir%/htdocs. You can update the
settings in conf/httpd.conf file
2.  If Apache Service can't be installed in "Control Panel > Admin Tools > Services",
        Execute following command in %apache_dir%/bin
           
httpd.exe -k install -n Apache2.2
      另外几个有用的命令:
    remove apache service:       httpd.exe -k uninstall -n Apache2.2
            start apache service from :  httpd.exe -k start
            stop apache service:            httpd.exe -k stop    or
httpd.exe -k shutdown
            restart apache service:        httpd.exe -k restart
 
      如果不通过windows Apache service,你可以直接使用下列命令:
            start apache server:           httpd
            stop apache server:    
    httpd.exe -k shutdown
 
   
            restart apache server:        httpd.exe -k restart
 
2.     
Test if apache server works
1)     
Start server: start “Apache
service” from “Control Panel > select “Start > Programs > Apache http
server 2 > control apache server > start” or start serve


相关文档:

PHP 中的 常量 变量 魔术常量 ...


PHP 向它运行的任何脚本提供了大量的预定义常量
。不过很多常量都是由不同的扩展库定义的,只有在加载了这些扩展库时才会出现,或者动态加载后,或者在编译时已经包括进去了。
有五个魔术常量根据它们使用的位置而改变。例如 __LINE__
的值就依赖于它在脚本中所处的行来决定。这些特殊的常量不区分大小写,如下:
表 ......

php学习笔记(8):PHP函数和自定义函数


1、PHP函数介绍
PHP函数分为:系统内部函数 和 自定义函数 
格式:Function($a1,$s2....){};
例子:date("Y-m-d");
          Md5("CHAUVET");
函数的优越性:
A)控制程序设计的复杂性
B)提高软件的可靠性
C)提高软件开发效率
D)提高软件的可 ......

模板引擎 PHP模板引擎【smarty】

[Smarty - 官方网站]
http://smarty.php.net/
[Smarty - 下载地址]
当前版本 2.6.18, http://smarty.php.net/do_download.php?download_file=Smarty-2.6.18.tar.gz

全部列表, http://smarty.php.net/download.php

[Smarty - 相关论坛]
http://php.board.newsmth.net/
http://forum.c ......

用apache_2.2和php 5.2搭建PHP环境

适用于最新的版本PHP-5.2.11和APACHE2.2
下载地址
PHP:http://cn2.php.net/get/php-5.2.11-Win32.zip/from/a/mirror
PHP直接下载http://cn.php.net/distributions/php-5.2.11-Win32.zip
APACHE http://labs.xiaonei.com/apache-mirror/httpd/httpd-2.2.14-win32-src.zip
1、将php解压到C:\php目录下
2、将apache安装 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号