note 11420 added to rename
| From: | beumont dot thomas at wanadoo dot fr | Date: | Tue, 20 Feb 2001 13:37:05 +0000 |
| Subject: | note 11420 added to rename | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11305@lists.php.net to get a copy of this message | ||
Apparently, the default path of your files (under win98) is the directory where php.exe is located,
you'll first have to get out of this directory using .. and then enter the path of your start
and destination files and their subdirs.
e.g : rename(../www/tmp/file.jpg,../www/dest/filed.jpg) this works fine, and lets you use a relative
path.
http://www.php.net/manual/en/function.rename.php