title: how to get parameters from url in zend framework 1?
body: <p>I want to get 2 parameters from a URL and use them in my action, here is my code:</p>
  
  <p>URL: <code>mysite.com/myaction/1/string</code></p>
  
  <p>myaction:</p>
  
  <pre><code>public function myactionAction($id, $string)
  {
  
  $params = $this-&gt;_getAllParams();
          print_r($params);
  }
  </code></pre>
  
  <p>I am newbie to ZF, so how I can get these 2 parameters?</p>