Posted by Jimbus on 05/10/06 03:37
mod_rewrite is how they do it.
"PD" <pd1980@gmail.com> wrote in message
news:1147123809.218554.144950@j33g2000cwa.googlegroups.com...
> Hello 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.
>
>
>
>
> Discussion 1-
> http://groups.google.com/group/Professional-PHP/browse_thread/thread/9e3a4ee1ccd62933/d96e1b11a08c5cf2?q=dating&rnum=1#d96e1b11a08c5cf2
> Discussion 2-
> http://groups.google.com/group/php.general/browse_thread/thread/9c268cb8cf9bb6d5/15b3b100d70a196e?q=dating&rnum=9#15b3b100d70a196e
> Discussion 3-
> http://groups.google.com/group/PHP-Hacks/browse_thread/thread/793932096de300/e5531288b538882e?q=dating&rnum=1#e5531288b538882e
> Discussion 4-
> http://groups.google.com/group/mysql/browse_thread/thread/40de2656406041d9/c8cff7c40c161889?q=dating&rnum=1#c8cff7c40c161889
> Discussion 5-
> http://groups.google.com/group/OOP-PHP/browse_thread/thread/af9e2bc045dad881/2ba2c6e36c3bc006?q=dating&rnum=1#2ba2c6e36c3bc006
> Discussion 6-
> http://groups.google.com/group/PHP-Masters/browse_thread/thread/cdfc7d1b68e0278c/46c403cec4bc14e8?q=dating&rnum=1#46c403cec4bc14e8
> Discussion 7-
> http://groups.google.com/group/comp.lang.php/browse_thread/thread/822719f4639b883/e712f83d1cdb278d?q=dating&rnum=5#e712f83d1cdb278d
> Discussion 8-
> http://groups.google.com/group/alt.php.sql/browse_thread/thread/b22afb9a6b984952/414bf3f43c74f633?q=dating&rnum=1#414bf3f43c74f633
>
[Back to original message]
|