I have CakePHP 1.3.2 application working with similar URLs:
/controller/action/name1:value1/name2:value2.html
I'm trying to extract the values after the :
sign specified by the names before that. I can see the whole URL with no problem using $this->params['url']
, however, I can't get the value itself using neither $this->params['name1']
, nor $this->params['url']['name1']
. Any tips?
From the Cakephp 1.3 book:
So you should use: