How to create virtual member websites ??

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
cemm
Forum Newbie
Posts: 2
Joined: Mon Sep 06, 2004 6:44 am

How to create virtual member websites ??

Post 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:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

mod_rewrite sounds like a good option..
cemm
Forum Newbie
Posts: 2
Joined: Mon Sep 06, 2004 6:44 am

Post by cemm »

Will mod_rewrite handle the possible 404 error,
since http://www.mywebsite.com/john (/john) doesnt exist ?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it can..
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

Post Reply