Supporting twitter-like user page urls with apache/php?
Posted
by user246114
on Stack Overflow
See other posts from Stack Overflow
or by user246114
Published on 2010-04-21T03:50:36Z
Indexed on
2010/04/21
3:53 UTC
Read the original article
Hit count: 168
Hi,
I'm using php on apache with mysql.
I want to let users enter a url into their browser to see a custom user page for themselves, just like twitter does. For example, they could enter urls like:
www.mysite.com/johndoe
www.mysite.com/janedoe
and see that user's page. How could I do this with php and apache? I don't want to create a folder on disk for every user like above, I'd instead kind of like to catch the url and generate the page on the fly for them,
Thanks
© Stack Overflow or respective owner