FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » URL Rewriting..... (URL Rewriting.....)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
URL Rewriting..... [message #40830] Wed, 16 April 2008 10:55 Go to next message
contactdipesh is currently offline  contactdipesh   United Kingdom
Messages: 1
Registered: April 2008
Location: UK
Karma: 0
Junior Member

Hi there,

can any one help me in re writing the urls in PHP.
What i want, my old url is http://localhost/test.php?id=66&id2=88

and i want to change it to http://localhost/car/seats

where car and seats are the name corresponding to id and id2 in the database,
so instead of displaying id i want to display the name in the database corresponding to that id...

Thanks


Regards,
Dipesh Malik

[Updated on: Wed, 16 April 2008 16:07]

Report message to a moderator

Re: URL Rewriting..... [message #158609 is a reply to message #40830] Fri, 06 March 2009 16:11 Go to previous message
Software Download is currently offline  Software Download   China
Messages: 2
Registered: March 2009
Location: USA
Karma: 0
Junior Member
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^files/(.+)/(.+).tar.gzip download.php?section=$1&file=$2 [nc]
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Cookies with Php Login
Next Topic: object not found on regular webpages
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu May 09 09:12:55 GMT 2024

Total time taken to generate the page: 0.02250 seconds