How to give personal user url on a dating website just like MySpace does?
am 08.05.2006 23:27:05 von pdHello everyone,
I had posted a question regarding how to design high traffic fast
dating website on different PHP groups. I got a lot of useful
responses. I have added links to all the posts below for reference.
I am back with another question regarding the dating website. How do I
go about creating personal user url on the site like it is done on
MySpace.com
The personal url for user1 will look like www.myWebSite.com/user1
The first solution I know is to create a folder for each user and put a
index.php script that show the user profile. But then there would be a
lot of folders. how can I catch the user1 from the url request string
www.myWebSite.com/user1
The ssecond solution would be to set the page not found script in
Apache. But then again I need to capture the 'user1' from the request
string.
I appreciate your help and welcome any suggestions.
Thank you.
href="http://groups.google.com/group/Professional-PHP/browse _thread/thread/9e3a4ee1ccd62933/d96e1b11a08c5cf2?q=dating&rn um=1#d96e1b11a08c5cf2">Discussion
1
href="http://groups.google.com/group/php.general/browse_thre ad/thread/9c268cb8cf9bb6d5/15b3b100d70a196e?q=dating&rnum=9# 15b3b100d70a196e">Discussion
2
href="http://groups.google.com/group/PHP-Hacks/browse_thread /thread/793932096de300/e5531288b538882e?q=dating&rnum=1#e553 1288b538882e">Discussion
3
href="http://groups.google.com/group/mysql/browse_thread/thr ead/40de2656406041d9/c8cff7c40c161889?q=dating&rnum=1#c8cff7 c40c161889">Discussion
4
href="http://groups.google.com/group/OOP-PHP/browse_thread/t hread/af9e2bc045dad881/2ba2c6e36c3bc006?q=dating&rnum=1#2ba2 c6e36c3bc006">Discussion
5
href="http://groups.google.com/group/PHP-Masters/browse_thre ad/thread/cdfc7d1b68e0278c/46c403cec4bc14e8?q=dating&rnum=1# 46c403cec4bc14e8">Discussion
6
href="http://groups.google.com/group/comp.lang.php/browse_th read/thread/822719f4639b883/e712f83d1cdb278d?q=dating&rnum=5 #e712f83d1cdb278d">Discussion
7
href="http://groups.google.com/group/alt.php.sql/browse_thre ad/thread/b22afb9a6b984952/414bf3f43c74f633?q=dating&rnum=1# 414bf3f43c74f633">Discussion
8