Re: [PHP] Zend Framework - getParam() Question

2011-03-12 Thread Dan Joseph
Howdy, Mid, Net, thanks for the tips! I actually didn't have the proper .htaccess settings that ZF wanted, and I needed to add a router :) Thank you both! -Dan On Sat, Mar 12, 2011 at 12:48 AM, Midhun Girish midhungir...@gmail.comwrote: You can also try routing in zend..

[PHP] Zend Framework - getParam() Question

2011-03-11 Thread Dan Joseph
Hi Everyone, Zend Framework getParam question I'm trying to get a value from the url... I know how to grab: http;//www.website.com/index/user/1 that's the index controller, $this-_getParam('user'); (value = 1).. What I'd like to be able to grab is just off one thing from the url...

Re: [PHP] Zend Framework - getParam() Question

2011-03-11 Thread NetEmp
Hi Dan One method for this is to use URL Rewriting (which can be implemented on Apache using htaccess). Through URL Rewriting you can first make the following URL: http://www.website.com/article-clean-url http://www.website.com/article-clean-urlto internally behave as the following:

Re: [PHP] Zend Framework - getParam() Question

2011-03-11 Thread Midhun Girish
You can also try routing in zend.. http://codeutopia.net/blog/2007/11/16/routing-and-complex-urls-in-zend-framework/ Midhun Girish On Sat, Mar 12, 2011 at 11:16 AM, NetEmp net.ser...@gmail.com wrote: Hi Dan One method for this is to use URL Rewriting (which can be implemented on Apache