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