Got it working. Whew! Thanks for your help Alex. If I set up multiple controllers to handle different tasks, do I now need to specify them in the index.php using:
$request = new Request( … );
$response = new Response();
Is there an automated way for index.php to handle multiple urls?
Also what about other aspects of the URI such as example.com/test/this-is-an-example … what would be an example of where you would specify what the 3rd parameter of the uri is parsed…like to view a specific article…
Thanks!
↧
By: Kevin
↧