PHP Rename problem!
<p>I have a problem using php rename function. If I use the following syntax it works fine.</p>

<pre><code>&lt;?php
rename("pages/file.php", "pages/xfile.php");
?&gt;
</code></pre>

<p>but instead if I use this:</p>

<pre><code>&lt;?php
$val = '"pages/file.php"';
$rval = '"pages/xfile.php"';
rename($val, $rval);
?&gt;
</code></pre>

<p>It does not work and gives an error:</p>

<pre><code>Warning: rename("pages/file.php","pages/xfile.php") [function.rename]: The system cannot find the path specified. (code: 123) in C:\wamp\www\page_rename.php on line 2
</code></pre>
