Re: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Ashley Sheridan
On Mon, 2009-09-21 at 03:42 -0700, Tommy Pham wrote: > - Original Message > > From: Ashley Sheridan > > To: Gaurav Kumar > > Cc: Andrea Giammarchi ; php-general@lists.php.net > > Sent: Monday, September 21, 2009 2:55:20 AM > > Subject: Re: [PHP] Best

Re: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Tommy Pham
- Original Message > From: Ashley Sheridan > To: Gaurav Kumar > Cc: Andrea Giammarchi ; php-general@lists.php.net > Sent: Monday, September 21, 2009 2:55:20 AM > Subject: Re: [PHP] Best Practice to Create Dynamic URL's- With Username > > On Mon, 2009-09-21 at

Re: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Gaurav Kumar
Thanks Ashley and all the folks out there... On Mon, Sep 21, 2009 at 3:25 PM, Ashley Sheridan wrote: > On Mon, 2009-09-21 at 15:20 +0530, Gaurav Kumar wrote: > > I totally agree with this architecture. > > > > You are correct, I am just in the starting phase of the project and in > > fact still n

Re: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Ashley Sheridan
On Mon, 2009-09-21 at 15:20 +0530, Gaurav Kumar wrote: > I totally agree with this architecture. > > You are correct, I am just in the starting phase of the project and in > fact still need to define the architecture in detail. > > Now the question I asked in my last reply is still to be answere

Re: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Gaurav Kumar
I totally agree with this architecture. You are correct, I am just in the starting phase of the project and in fact still need to define the architecture in detail. Now the question I asked in my last reply is still to be answered? Gaurav Kumar OSWebstudio.Com On Mon, Sep 21, 2009 at 3:06 PM, A

RE: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Andrea Giammarchi
> > Question I was Asked by Andrea- "mod_reqrite or .htaccess is the answer, but > I wonder why you choose /user/username rather than just /username a la > twitter." > > I will be using many other aspects of my users something like > "/projects/username/"; "/gallery/username/". well, it does

Re: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Gaurav Kumar
A Big Thanks to all of you. Question I was Asked by Andrea- "mod_reqrite or .htaccess is the answer, but I wonder why you choose /user/username rather than just /username a la twitter." I will be using many other aspects of my users something like "/projects/username/"; "/gallery/username/". OK

Re: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Richard Heyes
Hi, > ... As has been suggested you could use mod_rewrite, but you don't have to if your needs are simple (or maybe you don't have it). You could also use the ForceType directive. Eg on my website the URLs are like this: http://www.phpguru.org/article/20-years-of-php Where "article" is actually

Re: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Tommy Pham
- Original Message > From: Gaurav Kumar > To: php-general@lists.php.net > Sent: Monday, September 21, 2009 12:54:30 AM > Subject: [PHP] Best Practice to Create Dynamic URL's- With Username > > Hi All, > > I am creating a social networking website. I want that every user should > have th

Re: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Ashley Sheridan
On Mon, 2009-09-21 at 13:24 +0530, Gaurav Kumar wrote: > Hi All, > > I am creating a social networking website. I want that every user should > have there own profile page with a static URL like- > > http://www.abcnetwork/user/username > > Where username will be dynamic userid or something else.