I am using Zend framework and it does URL rewriting
but I want to handle in controller just regular querysting, get request
seomthing like this transactionsExternal.phppage=1&start=0&limit=100&sort=threadid&dir=ASC&callback=Ext.data.JsonP.callback1
Can somebody tell me how to get this GET request variables in controller? considering that Zend prevents me just to use variables like $_GET[something]
$this->getRequest()->getParams(); also is not returning anything
ZF does not prevent you using
$_GET, although doing so is discouraged.$this->getRequest()->getParam('start'), or$this->getRequest()->getParams()will give you the GET params. So if this isn’t working for you something else is going wrong somewhere.Is ‘transactionsExternal.php’ definitely part of your ZF app?