随笔分类 -  php

摘要:解决Warning: require(E:\testwwwroot\cc06\wp-admin/wp-includes/compat.php) [function.require]: failed to open stream: No such file or directory in E:\testwwwroot\cc06\wp-admin\wp-settings.php on line 246Fatal error: require() [function.require]: Failed opening required 'E:\testwwwroot\cc06\wp-admin 阅读全文
posted @ 2012-08-29 16:45 王春明 阅读(1048) 评论(0) 推荐(0)
摘要:我最近用PHP开源程序做了一个网站,发现添加ftp文件下载时会出错,于是看了一下plus/download.php 逐段排除,最后发现是倒数第二行代码出错。header("location:{$softUrl}");exit();我没有系统学过PHP,所以不是很了解,搜索了一下,知道了header函数的在这里的作用,就是有来转向的,又搜索了一下关于php header ftp 出错网页,找到了一个类似的问题http://topic.csdn.net/t/20060415/12/4688825.html于是参考了他的做法,使用echo " <META HTTP 阅读全文
posted @ 2012-07-16 03:13 王春明 阅读(22070) 评论(0) 推荐(0)