neex1233 Posted December 4, 2010 Share Posted December 4, 2010 I'm trying to enable URL includes (allow_url_include), and I put "On" in the php.ini file, but it doesn't work. In the phpinfo() file, it also says they are off. Could somebody please help me?? Thanks. Quote Link to comment Share on other sites More sharing options...
neex1233 Posted December 4, 2010 Author Share Posted December 4, 2010 Btw, here's the errors: Warning: include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_include=0 in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Codes\lyt.php on line 14 Warning: include(http://domain.com/codes/css/ff.php) [function.include]: failed to open stream: no suitable wrapper could be found in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Codes\lyt.php on line 14 Warning: include() [function.include]: Failed opening 'http://domain.com/codes/css/ff.php' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Codes\lyt.php on line 14 Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted December 4, 2010 Share Posted December 4, 2010 Why are you trying to include using a URL? That takes a minimum of 10 times longer than including a file through the file system. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.