kurtis Posted August 16, 2007 Share Posted August 16, 2007 hi, i got a problem... when i try and include a page i get a permissions problem: Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration the page im including is to localhost/news.php?item=blablabla I have to include it like that instead of news.php?item=blablabla because if its included like news.php?item=blablabla then it looks for a page with all of it as the name. anyone know what could help? thanks. P.S im running xampp server. Quote Link to comment https://forums.phpfreaks.com/topic/65311-include-problem/ Share on other sites More sharing options...
wildteen88 Posted August 17, 2007 Share Posted August 17, 2007 This is because you have a setting called: allow_url_include disabled within the php.ini This prevents you from using urls within include paths. By default PHP has this setting disabled. Quote Link to comment https://forums.phpfreaks.com/topic/65311-include-problem/#findComment-326875 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.