ok ill give my ideas on this subject and how i achieved it.
ok you talk about geocities
geocities uses teh format geocities.com/yoursite/
your site is basically a folder
now to actually make administrative changes the user MUST login obviously, ok say we have a form like this
* username
* password
* sitename
obviously in the mysql members table all 3 of these fields would be present and all 3 would be required to authenticate
now after they have been logged in successfuly set a var such as
$_SESSION['domain'];
for eg $_SESSION['domain'] would be equal to evolution
as your site is called
http://www.geocities.com/evolution
now in all sql queries and and such like only run queries using evolution table
so.......
Code: Select all
// just an eg
$query = "SELECT * FROM $_SESSION[domain]";
hopefully this gives you some ideas
mal