note 100580 deleted from function.unlink by cmb
| From: | cmb@php.net | Date: | Sun, 29 Dec 2019 11:36:53 +0000 |
| Subject: | note 100580 deleted from function.unlink by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213695@lists.php.net to get a copy of this message | ||
Note Submitter: lpatrick
----
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 ...