I am trying to include a php file in a page via
require_once(http://localhost/web/a.php)
I am getting an error
Warning: require_once(): http:// wrapper is disabled in the server configuration by allow_url_include=0
I changed allow_url_include=1
in the php.ini and that worked but I don't think that everybody will let me change their php.ini file.
So, is there any way to accomplish this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…