Arson
Sep 4th 2007, 9:36 pm
How would one go about using URL's like myspace does?
What I mean: On myspace, You can type in the url, www.myspace.com/usernamehere, and It will take you to that username's profile.
My question is, how do I do that, without making an actual folder for the user.
Say I go to mysite.com/joe
I want it to find the username "joe" in the database, and show the information for that user.
So is there even a way to do that without actually creating a folder for each user? Id think there would be, or else that would mean MySpace has millions of folders on their servers...
+Rep to helpers! Thanks in advance!
What I mean: On myspace, You can type in the url, www.myspace.com/usernamehere, and It will take you to that username's profile.
My question is, how do I do that, without making an actual folder for the user.
Say I go to mysite.com/joe
I want it to find the username "joe" in the database, and show the information for that user.
So is there even a way to do that without actually creating a folder for each user? Id think there would be, or else that would mean MySpace has millions of folders on their servers...
+Rep to helpers! Thanks in advance!