note 17845 added to function.unlink
| From: | ecz at terra dot com dot br | Date: | Fri, 28 Dec 2001 16:10:35 +0000 |
| Subject: | note 17845 added to function.unlink | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-23913@lists.php.net to get a copy of this message | ||
i really dont know why, but
if (unlink('../img/'.$antiga['foto'])) $del = 'worked';//this works
(inside an if)!
unlink('../img/'.$antiga['foto']);//this doesn't work and doesn't give
me an error message
the server is a linux, apache, php 4.??
--
http://www.php.net/manual/en/function.unlink.php
http://master.php.net/manage/user-notes.php?action=edit+17845
http://master.php.net/manage/user-notes.php?action=delete+17845
http://master.php.net/manage/user-notes.php?action=reject+17845