Another idea to keep the space used on the server down is to use say symlinks on the index page, css and images. Then in the index page have line like
Code:
<?php include '$_SERVER['HTTP_HOST'].php';?>
or something like this
Code:
<?php
$domain_name = $_SERVER['HTTP_HOST'];
if (strpos($domain_name, "www.") === 0)
$domain_name = substr($domain_name, 4);
?>
<?php include '$domain_name.php';?>
Not sure if the php is right but I am probably fairly close
Then I would have xxx amount of php file with the domain name.php that could be changed easily without having to switch in between folders all the files would be in one location.
Bookmarks