Posted by todd on 05/23/06 00:59
Im not too sure how to go about this. I am working on a project where i
have users register on the site and when they do they need to be
assigned a url like this http://www.thesite.com/username. Kind of like
it is on myspace. I was thinking
1) using a php script to have cpanel create a subdomain for each user.
2) when the user registerd have a folder created somewhere then have
some code in a 401
page that searches the database for the /username at the end of the url
then
direct to the correct rfolder/page.
Am i way off base.
I appreciate your help
Thanks
Todd
Navigation:
[Reply to this message]
|