URL Handling |
[eluser]amii[/eluser]
This is my first post so I would like to say hello to everyone. I try to transfer my application to the code igniter framework and the obstacles are URL's. Basically in the old-style application the URL system was sth like this: index.php Code: if(!isset($_GET['p']) || !file_exists('view/'.$_GET['p'].'.php')) {$_GET['p']="main";} Therefore URL's in the old-fashioned style look similar like this: www.example.com/index.php?p=register and afterwards view/register.php has been put in the main content section - that seems to be very simple. This was good due to fact that header.php and footer.php were included only once. However in the code igniter this issue is not so simple at all. I dont have idea how to make this thing works in the same way like in the old-fashioned application, any ideas guys ? |
Messages In This Thread |
URL Handling - by El Forum - 06-04-2011, 07:50 AM
URL Handling - by El Forum - 06-04-2011, 11:39 AM
URL Handling - by El Forum - 06-04-2011, 11:51 AM
URL Handling - by El Forum - 06-04-2011, 02:53 PM
URL Handling - by El Forum - 06-05-2011, 02:36 AM
URL Handling - by El Forum - 06-05-2011, 03:19 AM
|