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? Link to comment https://forums.phpfreaks.com/topic/75508-subpage-system/ 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> Link to comment https://forums.phpfreaks.com/topic/75508-subpage-system/#findComment-381948 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.