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 ** Quote Link to comment 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 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.