易截截图软件、单文件、免安装、纯绿色、仅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正则表达式

1、入门简介
简单的说,正则表达式是一种可以用于模式匹配和替换的强有力的工具。我们可以在几乎所有的基于UNIX系统的工具中找到正则表达式的身影,例如,vi编辑器,Perl或PHP脚本语言,以及awk或sed shell程序等。此外,象JavaScript这种客户端的脚本语言也提供了对正则表达式的支持。由此可见,正则表达式已经超出了某种 ......

我用php写的对称加密算法

查看完整版本 : 【原创】我用php写的对称加密算法,大家看看安全性如何。
panic
2006-02-05, 22:37
//php已经有了完整的加密/解密库支持,但是在一些主机上,这些库没有被启用,所以出于无奈,才写了下面的算法。
//基本原理是:用明文的和key的组合生成crc,然后用这个crc和key组合生成一个hash掩码,用hash掩码和明文 ......

PHP在线编辑器

本范例只能在windows平台下正确运行。编辑器是可以在windows或linux下运行,与平台无关。
配置步骤:
1)webnoteeditor_phpsample文件夹放到网站的目录"webnoteeditor_phpsample"下
2)doc文件夹放到网站目录"doc"下
3)通过 http://localhost/webnoteeditor_phpsample/index.php 来访问
在Windows下,建议使用EasyPHP来 ......

PHP源码解析(一)

PHP源代码分析
当前版本PHP5.3.1
目录结构
build 和编译有关的目录。
ext 扩展库代码,例如 Mysql、zlib、iconv 等我们熟悉的扩展库。
main 主目录。
netware
pear
sapi 和各种服务器的接口调用,例如apache、IIS等,也包含一般的fastcgi、cgi等。
scripts Linux 下的脚本目录。
tests 测试脚本目录
TSRM
win32 ......

php学习笔记(11):MYSQL在php5中的应用


1、php与mysql建立连接
php.ini 加载mysql组件
extension=php_mysql.dll前的;去掉
exetension_dir=""路径是否正确
Php连接mysql函数
mysql_connect:开启MYSQL连接
mysql_select_dir:打开一个数据库
@和or die 隐藏错误和条件显示
mysql_connect("主机","用户名","密码");  
mysql_sele ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号