当前位置:首页 > 搜索和 t 相关的文章

利用.htaccess去除codeigiter的index.php

添加日期:2014-09-20 14:53:57 发布:smiling 
codeigiter中我们如果打开首页都会自动带个index php文件了,下面我就来介绍利用apache的htaccess规则来过滤显示index php的方法 个人用的方法,感觉还不错,代码如下:<IfModulemod_rewrite c>Options ...

apache AH01630: client denied by server configuration错误

添加日期:2014-09-20 14:51:21 发布:smiling 
昨天给公司配置了apache-2 4 9的版本,今天他们要求把虚拟主机配置起好放网站程序,在修改apache-2 4 9的配置文件中,我发现了2 4 x跟以前的2 2 x里面的很多配置都不一样了,比如配置这个虚拟主机都有 ...

解决Apache winnt_accept: Asynchronous AcceptEx failed方法

添加日期:2014-09-20 14:44:03 发布:smiling 
Apache网页有时能访问,有时超时打不开,错误日志中有如下提示:[Sat Jan 04 10:28:13 328125 2014] [mpm_winnt:warn] [pid 3252:tid 2712] (OS 64)指定的网络名不再可用 : AH00341: winn ...

php ob_start()缓存技术

添加日期:2014-09-20 14:34:22 发布:smiling 
ob_start()是开启output buffering,也就是缓冲输入内容,ob_gzhandle使用gzip处理内容,作为ob_start的参数,表示当输入缓冲内容时使用的回调函数,你也可以自己定义回调函数 例如手册中的例子:<?phpf ...

php imagecolorallocate

添加日期:2014-09-20 14:29:39 发布:smiling 
imagecolorallocate - 分配一个彩色的图像int imagecolorallocate(resource $image,int $red,int $green,int $blue)返回一个颜色标 ...

php array_unshift 向数组加入元素

添加日期:2014-09-20 14:20:18 发布:smiling 
php array_unshift 向数组加入元素 array_unshift() 函数在数组开头插入一个或多个元素。array_unshift(array,value1,value2,value3 )array 必需,规定输入的数组 value1 必需,规定插入的值 ...

str_replace 数组替换应用例子

添加日期:2014-09-20 13:35:29 发布:smiling 
str_replace 数组,条件是替换与被替换数组长度必须相等,代码如下:$t=array(& 39;<& 39;,& 39;>& 39;);$e=array(& 39;<& 39;,& 39;>& 39;); ...

php substr() 函数参数说明与实例教程

添加日期:2014-09-20 11:36:25 发布:smiling 
string substr(string $string ,int $start [, int $length ]),它可以用于在一个较长的字符串中查找匹配的字符串或字符,$string为所要处理的字符串,$start为开始选取的位置,$length为要选 ...

php html_entity_decode实例教程

添加日期:2014-09-20 11:23:01 发布:smiling 
关于html_entity_decode在大多数情况下是与htmlspecialchars htmlentities配合使用的 html_entity_decode用法:string html_entity_decode(string $string [,int $quote_style = ENT_COMPAT ...

php ksort 数组按键名排行

添加日期:2014-09-20 11:17:07 发布:smiling 
ksort() 函数按照键名对数组排序,为数组值保留原来的键,可选的第二个参数包含附加的排序标志,若成功,则返回 TRUE,否则返回 FALSE 该值是 PHP 4 4 0 和 5 0 2 新加的,在 PHP 6 之前,使 ...

php strtotime 函数与实例教程

添加日期:2014-09-20 10:30:37 发布:smiling 
strtotime(字符串$时间[,诠释$现在])int strtotime(string $time [,int $now] 该函数期望得到一个包含美国英语日期格式,并会尝试解析成一个Unix时间戳(多少秒自1970年1月1日00:00:00星期一该 ...

php利用imagecreatetruecolor动态生成高清图片代码

添加日期:2014-09-20 10:08:12 发布:smiling 
实例一,用我们用imagecreatetruecolor,代码如下:header(& 39;Content-type:image png& 39;);$im=@imagecreatetruecolor(120,20)ordie(& 39; ...