note 97790 deleted from function.unlink by degeberg
| From: | degeberg@php.net | Date: | Sat, 08 May 2010 15:50:51 +0000 |
| Subject: | note 97790 deleted from function.unlink by degeberg | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169072@lists.php.net to get a copy of this message | ||
Note Submitter: Calebe
----
To format a file. txt with the unset:
<?
unset($linhas);
$cria = fopen("database.txt","w+");
fclose($cria);
?>
<br><br><br><br><br><big><big><center>Formated
file.</center></big></big>
It erases all contents of the file keeping your CHMOD.