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

PHP第一章

1.PHP历史
 a.1995年由Lerdorf创建,当时他是为了创建一个访问计算器
 b.1997年11月发行PHP 2.0,称为PHP-FI(个人主页-表单解释器)
 c.1998年6月发行PHP3.0,名称由Personal Home Page 变成 HyperText Preprocessor(超文本预处理器)
 d.2000年5月PHP4发布
 e.PHP5发布
2.php4,php5特性
3.PHP一般特性:实用性,强大功能,可选择性,成本


相关文档:

模板引擎 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安装 ......

comparing strings in PHP with the == operator

最近在Greg Beaver's的blog上发表的一篇新文章 comparing strings in PHP with the == operator 中提及了PHP的 == 运算符在对字符串进行比较时值得注意的问题。
在某些情况下,PHP会把类数值数据(如含有数字的字符串等)转换成数值处理,== 运算符就是其中之一。在使用 == 运算符对两个字符串进行松散比较时,PHP会把类数 ......

php学习笔记(12):PHP+MYSQL留言板(上

require()  与  require_once()
    
      通常放在 PHP 程序的最前面,PHP 程序在执行前,就会先读入 require
所指定引入的文件,如果出现错误是致命的。
nclude()  与  include_once()
    
    &n ......

php 验证码

checkcode.php
====================
<?php
session_start();
$funcs = array('imagecreatetruecolor','imagecolorallocate','imagefill','imageline','imagedestroy','imagecolorallocatealpha','imageellipse','imagepng');
if(!function_exists('ob_gzhandler'))
    ob_clean();
 //crea ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号