Posted: Sat Dec 29, 2007 5:45 am
I got also one question about routing. Which url should i use ?
1) index.php?/controller/action/arg1/arg2/ -- here i use $_SERVER['REQUEST_URI']
2) index.php?route=controller/action/arg1/arg2/arg3 - $_GET
3) index.php?controller=cont&action=index&args=.... $_GET
Or use all of them just make option in config file to change which to use ?
1) index.php?/controller/action/arg1/arg2/ -- here i use $_SERVER['REQUEST_URI']
2) index.php?route=controller/action/arg1/arg2/arg3 - $_GET
3) index.php?controller=cont&action=index&args=.... $_GET
Or use all of them just make option in config file to change which to use ?