Typical website.com/username
Moderator: General Moderators
Typical website.com/username
Im have written a script that allows users to register. Once they register though, I want them to have their own url. Such as myspace.com/whoever or facebook.com/whoever. How is this technique usually applied? Is a DIR always created for each user or is it an apache thing? Please any help appriciated.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
It is most certaintly mod_rewrite which will capture the http://www.domain.com/[b]username[/b] and transparantly convert it to something like http://www.domain.com/profile.php?name=[b]username[/b]
Search around these forums or google, there are tons of examples
Search around these forums or google, there are tons of examples