|
|||
|
I setup my router to accept URL in this format. http: //domain.com /value1/value2 and also with following router and route to specified location.
$route = new Zend_Controller_Router_Route( ':value_1/:value_2', array( 'controller' => 'water', 'action' => 'fill' )); Besides, I want to set my program to accept more than 2 values. e.g. http: //domain.com/ value1/value2/valu3/value4 but only regard as 2 parameters. i.e. value 1 and "value2/valu3/value4". I means that "value2/value3/value4" is the one parameter. not 3 separater parameters. and then route to specified controller and action. How to set it? and also, how to get url? thanks a lot. Last edited by tommy : 02-22-2008 at 03:23 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|