Jump to content

Ways To Include...?


tarun

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.