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

php header中Content-disposition用法详细

添加日期:2013-12-02 16:25:39 发布:smiling 
Content-disposition 是 MIME 协议的扩展,MIME 协议指示 MIME 用户代理如何显示附加的文件。Content-disposition其实可以控制用户请 ...

Parse Error: syntax error, unexpected $end 错误

添加日期:2013-12-02 16:21:04 发布:smiling 
也许是不熟悉的php的一些特性吧,不过写多了,也就慢慢适应将就了,这里就整理一个代码编写调试问题,错误如下:Parse error: syntax err ...

Warning: mysql_fetch_assoc() expects parameter 1 to be resource

添加日期:2013-12-02 16:01:50 发布:smiling 
今天学习php的时候遇到了这个错误:Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:xampphtdocsmyblogindex php on line 15 ...

解决Magento报错:Fatal error: Call to undefined method

添加日期:2013-11-30 15:41:41 发布:smiling 
Magento在产品导入的时候出现错误: "Fatal error : Call to undefined method Mage_Adminhtml_Block_Abstract::getexceptions() in appcodecoreMageAdminhtmlBlockSystemConvertProfileRun php on line 167 "...

php Notice : Use of undefined constant解决办法

添加日期:2013-11-30 15:20:34 发布:smiling 
错误提示:php Notice : Use of undefined constant,分析:这些是 PHP 的提示而非报错,PHP 本身不需要事先声明变量即可直接使用,但是对未声明变量会有提示。一般作为正式的网站会把提示关掉的 ...

Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) i

添加日期:2013-11-30 15:04:26 发布:smiling 
今天在用一个php产品时出现了Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) in 提示信息,经过查核是因为此产品未考虑到用户内存引起的,下面是解决的方法:...

php curl常见错误:SSL错误、bool(false)

添加日期:2013-11-30 14:47:52 发布:smiling 
php curl调用https出错,排查方法:在命令行中使用curl调用试试,原因:服务器所在机房无法验证SSL证书,解决办法:跳过SSL证书检查,代码如下 ...

CentOS系统下Apache环境安装GBK编码程序网页乱码问题

添加日期:2013-11-30 13:49:04 发布:smiling 
1,打开Apache配置文件httpd conf,如默认情况下为 etc httpd conf httpd conf vi etc httpd conf httpd conf...

php strtr 函数与str_replace性能比较

添加日期:2013-11-29 21:58:05 发布:smiling 
PHP 的 strtr 函数,性能要比 str_replace 函数高,可以代替 str_replace 来使用 strtr 有两种形式:string strtr ( string $str , string $from , string $to )...

php Undefined index和Undefined variable的解决方法

添加日期:2013-11-29 21:33:00 发布:smiling 
$act=$_POST[& 39;act& 39;];用这段代码总是提示:Notice: Undefined index: act in F:windsflybookpost php on line 18另外,有时还 ...

Parse error: syntax error, unexpected T_LNUMBER

添加日期:2013-11-29 21:31:30 发布:smiling 
Parse error: syntax error, unexpected T_LNUMBER<?php 首先你的变量赋值有问题,在没有进行str_replace()的时候就会报错$a=& 39;" ...

PHP字符串正则替换函数preg_replace

添加日期:2013-11-29 16:31:53 发布:smiling 
语法: mixed preg_replace(mixed pattern, mixed replacement, mixed subject);返回值: 混合类型资料,函数种类: 资料处理内容说明 ...