note 100580 added to function.unlink
| From: | lpatrick at osu1 dot php dot net | Date: | Mon, 25 Oct 2010 09:08:51 +0000 |
| Subject: | note 100580 added to function.unlink | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-173429@lists.php.net to get a copy of this message | ||
unlink can fail after using ODBC commands on the file (on Windows).
Neither <?php odbc_free_result($result); ?> nor <?php odbc_close($conn); unset($conn);
?> did the trick.
Only <?php odbc_close_all(); ?> released the file such that it could be deleted afterwards ...
----
Server IP: 69.147.83.197
Probable Submitter: 83.134.97.76
----
Manual Page -- http://www.php.net/manual/en/function.unlink.php
Edit -- https://master.php.net/note/edit/100580
Del: integrated -- https://master.php.net/note/delete/100580/integrated
Del: useless -- https://master.php.net/note/delete/100580/useless
Del: bad code -- https://master.php.net/note/delete/100580/bad+code
Del: spam -- https://master.php.net/note/delete/100580/spam
Del: non-english -- https://master.php.net/note/delete/100580/non-english
Del: in docs -- https://master.php.net/note/delete/100580/in+docs
Del: other reasons-- https://master.php.net/note/delete/100580
Reject -- https://master.php.net/note/reject/100580
Search -- https://master.php.net/manage/user-notes.php