Require_once absolute path

Source: Internet
Author: User
Require_once absolute path
An error is reported.

(! ) Warning: require_once (): http: // wrapper is disabled in the server configuration by allow_url_include = 0 in E: \ wamp \ www \ ruixiang \ upload. php on line 1
Call Stack
# Time Memory Function Location
1 0.0003 137536 {main} () .. \ upload. php: 0

(! ) Warning: require_once (http: // 127.0.0.1/ruixiang/gongxiang. php): failed to open stream: no suitable wrapper cocould be found in E: \ wamp \ www \ ruixiang \ upload. php on line 1
Call Stack
# Time Memory Function Location
1 0.0003 137536 {main} () .. \ upload. php: 0

(! ) Fatal error: require_once (): Failed opening required' http: // 127.0.0.1/ruixiang/gongxiang. php '(include_path = '.; c: \ php \ pear ') in E: \ wamp \ www \ ruixiang \ upload. php on line 1



Reply to discussion (solution)

It cannot be used like this. if you can use it like this, you can not include the php files of Baidu Sina (as long as you know the address). please use the physical path.

What is the physical path ..

D:/wamp/wwwroot/xxx/xx. php

OK solution

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.