note 87791 added to function.unlink
| From: | admin at beyondmaster dot com | Date: | Mon, 22 Dec 2008 03:52:20 +0000 |
| Subject: | note 87791 added to function.unlink | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-148440@lists.php.net to get a copy of this message | ||
Under Windows System and Apache, denied access to file is an usual error to unlink file but I found
out that the denied access error can be caused while unlinking files during the while loop.
To fix this problem, I had to re-write my entire code and validate each entry with mysql_num_rows()
> 0 and FILE_EXISTS() function. Turns out that the code got a little bigger but it worked!
----
Server IP: 217.13.201.10
Probable Submitter: 89.49.193.201
----
Manual Page -- http://www.php.net/manual/en/function.unlink.php
Edit -- https://master.php.net/note/edit/87791
Del: integrated -- https://master.php.net/note/delete/87791/integrated
Del: useless -- https://master.php.net/note/delete/87791/useless
Del: bad code -- https://master.php.net/note/delete/87791/bad+code
Del: spam -- https://master.php.net/note/delete/87791/spam
Del: non-english -- https://master.php.net/note/delete/87791/non-english
Del: in docs -- https://master.php.net/note/delete/87791/in+docs
Del: other reasons-- https://master.php.net/note/delete/87791
Reject -- https://master.php.net/note/reject/87791
Search -- https://master.php.net/manage/user-notes.php