title: i want to give filepath out of the webroot in cakephp
body: <p>i want to give file path out of the webroot, how to give it?         </p>
  
  <pre><code>$uploads_dir =  WWW_ROOT .'/uploads';
  
  
                      $tmp_name = $this-&gt;data["Image"]["filedata"]["tmp_name"];
                      $name = $this-&gt;data["Image"]["filedata"]["name"];
                      move_uploaded_file($tmp_name, "$uploads_dir/$name");
  </code></pre>