note 101973 deleted from function.unlink by danbrown

From: Date: Thu, 20 Jan 2011 22:04:36 +0000
Subject: note 101973 deleted from function.unlink by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-175954@lists.php.net to get a copy of this message
Note Submitter: developer at mediavince dot com ---- In complement to kgy in regards to the deletion of file on windows (same mindset as lpatrick with the odbc solution) Make sure to close the opened file before unlinking it! <?php $f = fopen($file,'r'); fclose($f); // close the opened file or might not be unlinked ok, especially on windblowz unlink($file); ?> Hope that helps... Vinz

« previous php.notes (#175954) next »