mod_rewrite and $_GET

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
spedula
Forum Commoner
Posts: 81
Joined: Mon Mar 29, 2010 5:24 pm

mod_rewrite and $_GET

Post by spedula »

If I used mod_rewrite to change the URL mysite.com/index.php?page=home to be mysite.com/home can I still use $_GET['page'] in my index.php?
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: mod_rewrite and $_GET

Post by Benjamin »

Yes you can.
Post Reply