note 35616 deleted from function.unlink by vincent
| From: | vincent@php.net | Date: | Mon, 08 Sep 2003 14:59:46 +0000 |
| Subject: | note 35616 deleted from function.unlink by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55830@lists.php.net to get a copy of this message | ||
Note Submitter: cdechery@msn.com
----
I found out I can't delete files if I inform it's full path, like
"/home/mysite/www/htdocs/dir/image.jpg"...
this happens both in Windows and Linux.
So I tried using the relative path and it worked perfectly (also for both Win and Linux)...
instead of the full path I'd have "../../dir/image.jpg" or something...
note: this also applies to rmdir().