php include的有关问题

WBOY
Release: 2016-06-13 13:28:21
Original
1001 people have browsed it

php include的问题
include("ask_ftp.php");
正常的
include("http://www.xxx.com/ask_ftp.php");
就不正常了 
不知道应该怎么远程获取php文件 求大家帮助

------解决方案--------------------
这涉及到安全问题,所以默认是关闭了include打开远程文件的功能。如果你打开错误提示就能看到说不能打开一个url
当然如果你想的话可以修改 allow_url_open = On
------解决方案--------------------
这个默认是关闭的 如果非要使用的话就按上楼说的做吧 但这样做实在是不安全

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