How to get parameters from url in Cakephp

How to get parameters from url in Cakephp

 

Url Like:

http://www.example.com/x/test?status=200&id=112

Want to get the status value from Url

 

echo $this->params['url'];

For more, Cakephp manual

http://book.cakephp.org/1.3/en/The-Manual/Developing-with-CakePHP/Controllers.html#the-parameters-attribute-params

Leave a Comment