It's often done with URL redirection (e.g. via ModRewrite in Apache) so that "jason" becomes a GET variable that is used to query the DB via the default script to populate its data from the DB.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
would be converted to (via rewrite) something like:
example.com/userpage.php?name=jason
Which in turn would be referenced in a table that relates the name to an id like:
jess, 1
jason, 2
thus from this point on you'd refer to userid 2, and lookup your data that way. Only thing to be careful about is you have to make sure each username is 100% unique.
Bookmarks