Page 1 of 1

How to create virtual member websites ??

Posted: Mon Sep 06, 2004 6:52 am
by cemm
Just wanted to say hello to all of you (1st post) :D

I am having a problem that I am going crazy over, can anyone help?

The problem:

I am designing a web community, where i want each member to have their own website url containing a copy of the main site. I was hoping to make it dynamic somehow, to save webspace. When a virtual url is called, I somehow need to grab the username(without getting a 404) and then parsing some member information on the page to the viewer.

Example :

http://www.mywebsite.com/john

Should create a "copy" of mywebsite.com including contact information for John.

Does anyone have experience with this, and are willing to help a PHP newbie ? :lol:

Posted: Mon Sep 06, 2004 7:05 am
by feyd
mod_rewrite sounds like a good option..

Posted: Mon Sep 06, 2004 7:13 am
by cemm
Will mod_rewrite handle the possible 404 error,
since http://www.mywebsite.com/john (/john) doesnt exist ?

Posted: Mon Sep 06, 2004 7:16 am
by feyd
it can..

Posted: Mon Sep 06, 2004 10:02 am
by qads