How to organise a php based website

Posted by bsandrabr on Stack Overflow See other posts from Stack Overflow or by bsandrabr
Published on 2010-03-25T11:06:06Z Indexed on 2010/03/25 11:33 UTC
Read the original article Hit count: 284

Filed under:
|

I am putting my php /mysql website up and this is my scenario The users are grouped into sites each site with their own unique database. There will be about 40 users per site. the two options I'm trying to decide between are

  1. have a central website running the php and directing the users off to their own database

  2. using sub domains for each user each with their own php in htdocs

I dont even know if 2 is possible/stupid but if it was, would it make any difference to performance as they're all being run by the same server. Any other ideas/ advice much appreciated as I want to organise it the best way from the start

© Stack Overflow or respective owner

Related posts about web

Related posts about subdomain