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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message ----
> From: Ralph Deffke <ralph_deffke@xxxxxxxx>
> To: php-general@xxxxxxxxxxxxx
> Sent: Monday, September 21, 2009 1:31:05 AM
> Subject:  Re: Best Practice to Create Dynamic URL's- With Username
> 
> be aware if you do not have full control of your server setup, this type of
> parameter handling is not possible on most shared hostings.
> 
> however url encoded it is never a problem. so be clear where yout page will
> be hosted.
> 
> ralph_deffke@xxxxxxxx
> 

If your hosting service company doesn't permit/use URL rewrite (mod_rewrite for Apache), then ask them to specify a 404 error page for you.  You can then do an ugly hack of URL rewrite in your (PHP)  404 error page so the URL will be SEF ;)

Regards,
Tommy

> "Gaurav Kumar" wrote in message
> news:87292e170909210054k79858b96yf09eeca5111ec788@xxxxxxxxxxxxxxxxx
> > 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.
> >
> > This is something very similar to www.youtube.com/user/kumargauravmail
> (this
> > is my profile page).
> >
> > So what should be the best practice to create such DYNAMIC URL's OR what
> > kind of methodology youtube is following?
> >
> > Thanks in Advance.
> >
> > Gaurav Kumar
> > OSWebstudio.com
> >
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux