4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 help with mod_rewrite
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
fak3r
Junior WebHelper
Junior WebHelper


Joined: 18 Sep 2004
Posts: 2

PostPosted: Sat Sep 18, 2004 6:56 pm (13 years, 2 months ago) Reply with QuoteBack to Top

ok, i'm new to the whole mod_rewrite bit.
and I had a look at the tutorial about it, but it wasn't as thourough as I was hoping it would be.
say I had a paramater with more than one function for example
?id=blah&y=yes&b=ok
how would I rewrite this into something simple like
/id/yes/ok ?
please help
OfflineView User's ProfileFind all posts by fak3rSend Personal Message
fak3r
Junior WebHelper
Junior WebHelper


Joined: 18 Sep 2004
Posts: 2

PostPosted: Sat Sep 18, 2004 7:19 pm (13 years, 2 months ago) Reply with QuoteBack to Top

hmm nevermind messing around with it i found a way to do it
here is an example for others who may possibly have the same question
Code:

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^test/([^-]+)/([^-]+)/([^-]+) test.php?flash=$1&w=$2&h=$3
OfflineView User's ProfileFind all posts by fak3rSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.059149 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme