PHP
独立级IT民工
编程猎人
展开
-
Smarttemplate中文安装手册
Smarttemplate中文安装手册 版本:smarttemplate1.2.1 版权:GPL 安装步骤 1,解压smarttemplate1.2.1.rar文件。 2,找到以下三个主要程序文件(smarttemplate-1.2.1目录中) class.smarttemplate.php class.smarttemplatedebugger.php class.smartt转载 2012-08-03 14:38:09 · 1487 阅读 · 0 评论 -
PHP 获取时间差函数汇总
在学习PHP 的时候,经常会用到获取现在之前或之后,某个时间段的日期。现在已经进行收集,大家同时也可以进行扩展丰富。 //获取当天的星期(1-7) function GetWeek($times) { $res = date('w', strtotime($times)); if($res==0) $res=7; return $res;转载 2012-09-26 23:06:37 · 652 阅读 · 0 评论 -
PHP 文件上传样例
upload.html: Upload File Upload New Files: Upload This File: upload.php: Uploading... Uploding file ... if($_FILES['userfile']['error']>0)转载 2012-09-26 23:33:49 · 666 阅读 · 0 评论