note 7201 deleted from rename by ronabop
| From: | ronabop@php.net | Date: | Wed, 06 Sep 2000 06:00:32 +0000 |
| Subject: | note 7201 deleted from rename by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4200@lists.php.net to get a copy of this message | ||
Personally, I am not sure if this is a bug, but it is bothering the heck out of me! I keep getting a
warning error when ever I try to rename a file on my Win2000 box. The file I am trying to rename
does exist and is found by the file_exists method provided by PHP. Here is a excerpt of what I was
doing...<br>
<pre><?<br>$old="test.phtml";<br>$new="test2.phtml";<br><br>if(file_exists($old))<br>
print("well, we did find the old file!");<br><br>rename($old,
$new);<br><br>print("Done!");<br><br>?><pre>
Any assistance would be great!