Home >Backend Development >PHP Tutorial >比方说bb.newmiracle.cn小弟我要访问的效果跟b.php?ab=2&dd=3一样 代码应该如何写

比方说bb.newmiracle.cn小弟我要访问的效果跟b.php?ab=2&dd=3一样 代码应该如何写

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:09:201013browse

比方说bb.newmiracle.cn我要访问的效果跟b.php?ab=2&dd=3一样 代码应该怎么写

本帖最后由 xlko6965921xlko 于 2014-11-03 21:42:57 编辑 比方说bb.newmiracle.cn我要访问的效果跟b.php?ab=2&dd=3一样  代码应该怎么写


13.php
include 'http://localhost/ceshi/12.php?name=Peter';
?>

12.php



运行13.php是空白。。



------解决思路----------------------
你以 url 方式嵌入文件,需要打开 allow_url_include 开关
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn