Please use the reply to all button.

you can read more about it here
http://framework.zend.com/manual/en/zend.controller.router.html

http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.regex

look at this code as an example:

$route = new Zend_Controller_Router_Route_Regex(
    'blog/archive/(\d+)-(.+)\.html',
    array(
        'controller' => 'blog',
        'action'     => 'view'
    ),
    array(
        1 => 'id',
        2 => 'description'
    ),
    'blog/archive/%d-%s.html'
);
$router->addRoute('blogArchive', $route);




On Thu, Feb 26, 2009 at 3:06 PM, peas sopheak <[email protected]>wrote:

> Hi
>
> Where could I start to write it? or I should write it in guestbook
> Controller?
> Can you show me with some sample code?
>
> Thanks
> Sopheak
>
>
> On Thu, Feb 26, 2009 at 7:43 PM, vadim gavrilov <[email protected]>wrote:
>
>> You can optionally specify the extension.
>>
>>
>> On Thu, Feb 26, 2009 at 2:28 PM, peas sopheak <[email protected]>wrote:
>>
>>> Hi
>>>
>>> I'm trying practice with Zend Quickstart application. I wonder about URL,
>>> can Zend framewrok display url with html extention?
>>> Normally it's display http://localhost/guestbook , But I would like it
>>> to be http://localhost/guestbook.html
>>>
>>> Thanks
>>> Sopheak
>>>
>>
>>
>>
>> --
>> Vincent Gabriel.
>> Lead Developer, Senior Support.
>> Zend Certified Engineer.
>>
>>
>>
>>
>>
>


-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.

Reply via email to