cmonkey Posted October 31, 2007 Share Posted October 31, 2007 instead of using get like index.php?subpage=name some sites use something like index.php/subpage as seen on http://plog4u.org/index.php/Programming:PHP:arrays how does this work? and whats it called? Quote Link to comment Share on other sites More sharing options...
trq Posted October 31, 2007 Share Posted October 31, 2007 mod_rewrite. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^(.*)$ index.php?page=$1 [L] </IfModule> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.