首页 > 后端开发 > php教程 > php里面如何调用其他的php

php里面如何调用其他的php

WBOY
发布: 2016-06-13 10:12:54
原创
1356 人浏览过

php里面怎么调用其他的php
我想把主页改成其他的.
是dede的系统.在member里面主页不想要了,想改成文章发布页
直接把整个index.php写成了
include("http://127.0.0.1/member/content_list.php?channelid=17");
?>

提示错误

Warning: include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_include=0 in G:\wampserver\wamp\www\member\index.php on line 2

Warning: include(http://127.0.0.1/member/content_list.php?channelid=17) [function.include]: failed to open stream: no suitable wrapper could be found in G:\wampserver\wamp\www\member\index.php on line 2

Warning: include() [function.include]: Failed opening 'http://127.0.0.1/member/content_list.php?channelid=17' for inclusion (include_path='.;C:\php5\pear') in G:\wampserver\wamp\www\member\index.php on line 2

------解决方案--------------------
令 php.ini
allow_url_include = On

相关标签:
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板