I want to rewrite my site's URLs using mod_rewrite. I am trying to go from:
http://play-flash-games.net/play.php?id=games-name
to:
http://play-flash-games.net/play/game/games-name
The URL rewriting is easy enough, but $_GET won't work. Surely there is a way around this. Can PHP use regular expressions to extract data from the URL, or am I missing something.
Help is appreciated.
http://play-flash-games.net/play.php?id=games-name
to:
http://play-flash-games.net/play/game/games-name
The URL rewriting is easy enough, but $_GET won't work. Surely there is a way around this. Can PHP use regular expressions to extract data from the URL, or am I missing something.
Help is appreciated.