Changing directory using php passthru()
<p>I want to change the working directory using passthru()  method and commandline ..</p>

<p>This is the php script</p>

<pre><code>&lt;?php
passthru("chdir C:/Documents and Settings/svn");
print passthru("dir");

?&gt;
</code></pre>

<p>However, it is not changing the working directory to C:/Documents and Settings/svn..
It is outputting the files from the current directory ..
How can i fix this ?</p>
