Warning: URL file-access is disabled in the server config
Posted: Sun Jul 05, 2009 7:00 pm
Hello I'm having abit of a problem making a relative directory link to a full URL address
This piece of code:
$layout_name = "layouts/".$layout_name = $config['site']['layout'];;
Needs to be:
$layout_name = "http://frozenstarfire.com/layouts/".$layout_name = $config['site']['layout'];;
If that is possible =/ when I do so these errors pop up:
This piece of code:
$layout_name = "layouts/".$layout_name = $config['site']['layout'];;
Needs to be:
$layout_name = "http://frozenstarfire.com/layouts/".$layout_name = $config['site']['layout'];;
If that is possible =/ when I do so these errors pop up:
I need some serious help, i'm using an XAMPP distribution. I tried changing php.ini to:Warning: parse_ini_file() [function.parse-ini-file]: URL file-access is disabled in the server configuration in C:\xampp\htdocs\config-and-functions.php on line 94
Warning: parse_ini_file(http://frozenstarfire.com/layouts/tibia ... config.ini) [function.parse-ini-file]: failed to open stream: no suitable wrapper could be found in C:\xampp\htdocs\config-and-functions.php on line 94
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\config-and-functions.php on line 95
Warning: include() [function.include]: URL file-access is disabled in the server configuration in C:\xampp\htdocs\index.php on line 388
Warning: include(http://frozenstarfire.com/layouts/tibiacom/layout.php) [function.include]: failed to open stream: no suitable wrapper could be found in C:\xampp\htdocs\index.php on line 388
Warning: include() [function.include]: Failed opening 'http://frozenstarfire.com/layouts/tibiacom/layout.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\index.php on line 388
I thought allowing URL includes would work =[;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;
; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
allow_url_include = On