tarun Posted April 22, 2007 Share Posted April 22, 2007 Okay I Used To Use This In My header.php File $host = $_SERVER['HTTP_HOST']; include 'http://$host/settings.php'; Change It Since My Web Host Disabled URL File Access But Which Is The Best Way Bearing In Mind That Lots Of Files Are In Different Directories Warning: include(): URL file-access is disabled in the server configuration in /home/www/***.***.com/header.php on line ** Link to comment https://forums.phpfreaks.com/topic/48147-ways-to-include/ Share on other sites More sharing options...
Janus13 Posted April 22, 2007 Share Posted April 22, 2007 Just include them with a relative path include 'file.php'; or include '../file.php'; etc etc Link to comment https://forums.phpfreaks.com/topic/48147-ways-to-include/#findComment-235326 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.