Heim  >  Artikel  >  Backend-Entwicklung  >  关于include("http:///的用法,该如何处理

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

WBOY
WBOYOriginal
2016-06-13 12:41:221325Durchsuche

关于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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn