best project developent for multi users service

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
webstyler
Forum Commoner
Posts: 85
Joined: Sat Feb 14, 2004 2:16 am

best project developent for multi users service

Post by webstyler »

Hello

We have a mailing php/mysql script

Our customer can login and then manage your newsletter

Now we must re-development the project

For any customer we must create on server a subdomain

Example of actual project
Master plan http://www.example.com
Any customers of he can login and send mailing.

Future project
Any customer can login into specific and dedicated subdomain that is independent hosting plan
http://c1.example.com | customer 1
http://c2.example.com | customer 2
http://c3.example.com | customer 3

Any subdomain is a hosting plan with specific details.
BUT any subdomain must contain a specific php file and include/required php function/classes from the master domain.

Any suggestion ??

The major problem is that all customer must have a plan but mailing script is unique (php/mysql based)

Thks
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

mod_rewrite.

front controller.

Search for those two terms as they can save you a world of time and pain when doing what I think you are doing.
webstyler
Forum Commoner
Posts: 85
Joined: Sat Feb 14, 2004 2:16 am

Post by webstyler »

Everah wrote:mod_rewrite.

front controller.

Search for those two terms as they can save you a world of time and pain when doing what I think you are doing.
yes, we already use for other projects but not sure useful for this.. :)

subdomain is a single hosting plan

all subdomain must be a independent hosting space BUT all subdomains must include/require code from master plan..

think not only apache mod rewrite :)

tx
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Who is going to manage and include the files from the master plan? I only ask that because you could have files just about anywhere on the server and grab them by include() from where ever they happen to be.
Post Reply