I forgot how to wright this,
Please help me
Thanks
Bin
| SitePoint Sponsor |
I forgot how to wright this,
Please help me
Thanks
Bin





How to delete a file? Use the unlink() function.



http://us2.php.net/unlink
PHP Code:unlink(path/to/page.txt);



It might be helpful to add some quotes in there:
Code PHP:unlink('path/to/page.txt');


remember about the UNIX permissions.
Code:$file = "path/to/page.txt"; chmod($file, 0777); unlink($file);
Bookmarks