Forum Moderators: coopster
Each user will have their own directory in the site based on their own database with the exact same tables, fields etc, the only difference is the 'connection.php' will be different for each user as it will connect them to their respective database.
I then plan to have a login based on a members table which will redirect user/pass combinations to the relative directory.
What i want to know is, is there a way that insteadof having seperate directorys for each user, when they login the respective 'connection.php' can be loaded for the user eliminating the need for directorys for eachj user.
thanks guys
If the users are uploading any type of content then you have two choices -- store their uploaded files in the filesystem (directories) or store them in a database.
One other idea may be to have a hybrid. A single database for all with userid as PRIMARY KEY but one of the tables (or a column in the user information table) could contain the directory specific to that particular user.