Possible Duplicate:
Custom URL for each user in PHP
I'm starting a new project building an online community. I would like to use a profile similar to Facebook in the way that each user has a unique url (ie http://www.facebook.com/username). I am familiar with using the $_GET function to get an ID from the URL but would much rather make the URLs short and memorable. As of today I noticed Facebook uses both /username and profile.php?id=1234 methods. Can anyone explain to me how this works? Thanks.