Home > Backend Development > PHP Tutorial > 关于include("http:///的用法,该如何处理

关于include("http:///的用法,该如何处理

WBOY
Release: 2016-06-13 12:41:22
Original
1379 people have browsed it

关于include("http:///的用法
我自己建立的服务器下有2个文件
   product.php  和example.html

1. 其中在product.php中代码如下:

可以完整的显示example.html的信息

2.如果在product.php中加入代码:

就不能显示http://lusongsong.com/info/post/92.html中的内容


问:1.是不是Include是不是只能显示本地服务器的内容
    2.请问我要显示其他服务器的内容,改怎么写?例如http://lusongsong.com/info/post/92.html

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template