How to call other php files in php? I want to change the homepage to another one. is the dede system. on the member homepage, you do not need to change it to the article Publishing page and directly change the entire index. php is written as & lt ;? Phpinclude (& quot; http: // 127.0.0.1/member/php
I want to change the homepage to another one.
It's a dede system. I don't want to go to the member homepage. I want to change it to an article release page.
Directly write the entire index. php
Include ("http: // 127.0.0.1/member/content_list.php? Channelid = 17 ");
?>
Error message
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 cocould 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 permission Sion (include_path = '.; C: \ php5 \ pear') in G: \ wampserver \ wamp \ www \ member \ index. php on line 2
------ Solution --------------------
Make php. ini
Allow_url_include = On
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service