www.example.com/myCmd/myAction
=
www.example.com/?cmd=myCmd&act=myAction
All is well. But not really.
What if I want urls to have any number of slashes?
Like: www.example.com/myCmd/myAction/456/110/Some_Name/
And that might =
www.example.com/?cmd=myCmd&act=myAction&?id=456&page=110&title=Some_Name
But another request on a different page might look like this:
www.example.com/myOtherCmd/myOtherAction/456/110/Some_Name/
And it would translate to =
www.example.com/?cmd=myOtherCmd&act=myOtherAction&?id=456&memberNumber=110&display=Some_Name
So you see, I want a variable number of parameters in the query part of the url, but they don't always have to have the same GET variable.
So is there a mod_rewrite function that can just strip the &'s, ?'s, ='s and names, and just keep the value but I will still be able to use the values like memberNumber, title, etc in my PHP?
Thanks a lot, help on this would be GREATLY appreciated!
This post has been edited by eZACKe: 11 June 2012 - 12:23 PM

New Topic/Question
Reply



MultiQuote




|