note 101098 added to function.unlink
| From: | kgy at osu1 dot php dot net | Date: | Thu, 25 Nov 2010 22:34:00 +0000 |
| Subject: | note 101098 added to function.unlink | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-174365@lists.php.net to get a copy of this message | ||
a note to the windows unlink problem. I had some code running on a linux server, unlinking files
fine, but when i switched to my home computer running on windows, i suddenly had the unlink -
permission denied problem. After trying everything (all those things with ownership, etc.), i found
out that my file (a temporary file created with tempnam) was not closed, therefore it couldn't
be unlinked. I hope this helps someone outthere :)
----
Server IP: 69.147.83.197
Probable Submitter: 89.137.126.86
----
Manual Page -- http://www.php.net/manual/en/function.unlink.php
Edit -- https://master.php.net/note/edit/101098
Del: integrated -- https://master.php.net/note/delete/101098/integrated
Del: useless -- https://master.php.net/note/delete/101098/useless
Del: bad code -- https://master.php.net/note/delete/101098/bad+code
Del: spam -- https://master.php.net/note/delete/101098/spam
Del: non-english -- https://master.php.net/note/delete/101098/non-english
Del: in docs -- https://master.php.net/note/delete/101098/in+docs
Del: other reasons-- https://master.php.net/note/delete/101098
Reject -- https://master.php.net/note/reject/101098
Search -- https://master.php.net/manage/user-notes.php