PHP 4.0 Bug #6498: Rename function fails with non absolute paths
| From: | P dot Gabriel at mageos dot com | Date: | Sat, 02 Sep 2000 07:18:17 +0000 |
| Subject: | PHP 4.0 Bug #6498: Rename function fails with non absolute paths | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31641@lists.php.net to get a copy of this message | ||
From: P.Gabriel@mageos.com
Operating system: Win32
PHP version: 4.0.2
PHP Bug Type: Scripting Engine problem
Bug description: Rename function fails with non absolute paths
The rename function only works with absolute paths.
example that doesn't work:
rename("test.txt","test2.txt");
I need somthing like it to do the same thing:
copy("test.txt","test2.txt");
unlink("test.txt");