Twitist Forums
How do you make a site that has personal URLs for each of its users, like FB and Twitter? - Printable Version

+- Twitist Forums (http://twitist.com)
+-- Forum: General Social Media & Marketing Forums (/forum-8.html)
+--- Forum: General Social Media questions (/forum-9.html)
+--- Thread: How do you make a site that has personal URLs for each of its users, like FB and Twitter? (/thread-59262.html)



How do you make a site that has personal URLs for each of its users, like FB and Twitter? - straightnest893 - 01-31-2013 11:31 AM

I am making a social networking site atm, and I was wondering how easy it would be to auto-create custom URLs for each of my members upon registration, like Facebook, Myspace, and Twitter. How would you go about doing this in PHP?


- mattjcook07 - 01-31-2013 11:39 AM

Well if you are using PHP. I would first make sure that I understand how to use MySql. This would be very helpful in storing your data. Next, you need to make sure that either your web host or the server you are using can support a MySql Database and PHP scripts. You would create a form that would retrieve the users details and then send them to the MySql DB. You would use procedure that would assign them a unique ID for their account.

This id would be used to set up a folder on your, hopefully unix, server which will store there information. You would give then give them an interface that would let them modify the web page files that you put in this folder for their account. This would take a few days to set up poorly, few weeks to be good, and a few months to be professional. I wish I could help you with this project, because you need more than yourself when designing something of this magnitude.