-- massivo <[EMAIL PROTECTED]> wrote (on Wednesday, 31 October 2007, 10:43 AM -0700): > If, in my action controller, i have this url: > > http://www.example.com/view/5 > > how can I extract the info like this?: > > module = default > controller = index > action = view > id = 5 > test = 'test' -> the default value > > Like when you create a route but in this case I only have the url. > > Is there any way to make it easier?
Run the string through the router. That's how the MVC components extract that information. :-) -- Matthew Weier O'Phinney PHP Developer | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/
