vmalli Posted December 19, 2006 Share Posted December 19, 2006 Does anyone know how people do this on their websites?ex. http://www.website.com/[u]?page=whatever[/u]If anyone knows how to do this in Apache please help me. Link to comment https://forums.phpfreaks.com/topic/31270-is-this-php-if-it-is-how-do-you-do-it/ Share on other sites More sharing options...
Caesar Posted December 19, 2006 Share Posted December 19, 2006 You don't need an Apache mod_rewrite to do that with PHP. Just need to know the very basics. I suggest going here: http://www.php.net and looking up $_GET. And with mod_rewrites, instead of "[color=blue]http://www.website.com/?page=whatever"[/color], you can do [color=blue]http://www.website.com/whatever[/color]. Link to comment https://forums.phpfreaks.com/topic/31270-is-this-php-if-it-is-how-do-you-do-it/#findComment-144695 Share on other sites More sharing options...
Orio Posted December 19, 2006 Share Posted December 19, 2006 This URL is the same as:http://www.website.com/index.php?page=whateverThen index.php can use the information using $_GET['page'].Orio. Link to comment https://forums.phpfreaks.com/topic/31270-is-this-php-if-it-is-how-do-you-do-it/#findComment-144696 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.