I've got some stuff I need to do with mod_rewrite but I'm totally new to it and can't get my head around it.
I've used an example online to get the basics working... so I'm at a stage now where http://example.com/mypage/ brings up mypage.php.
Now I wanted to be able to tag stuff onto the end of that url which gets put into the $_GET array. For example: http://example.com/mypage/id/1/ would create an entry in $_GET with id=>1.
Is this possible?
Hope all that makes sense. As I said, I'm pretty new to both PHP and mod_rewrite.
Thanks in advance.
I've used an example online to get the basics working... so I'm at a stage now where http://example.com/mypage/ brings up mypage.php.
Now I wanted to be able to tag stuff onto the end of that url which gets put into the $_GET array. For example: http://example.com/mypage/id/1/ would create an entry in $_GET with id=>1.
Is this possible?
Hope all that makes sense. As I said, I'm pretty new to both PHP and mod_rewrite.
Thanks in advance.