News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Total PHP:
Deleting files with PHP
August 06, 2008 @ 11:19:48

The Total PHP site has another introductory tutorial posted showing you how to correctly delete files in your PHP scripts.

Following our tutorials on uploading files and listing files, this tutorial will walk you through deleting files from a directory. This is done using the unlink() function.

Their example is pretty simple (as is the concept) - they show how to check to be sure that the file you want to remove isn't in use/open and then issue the unlink to remove it from the file system.

0 comments voice your opinion now!
delete file upload list tutorial fopen unlink


blog comments powered by Disqus

Similar Posts

Stefan Mischook's Blog: A Quick Look at Dreamweaver CS4 and the PHP Toolset

Max Horvath's Blog: How to enable the Xdebug debugger in Zend Studio for Eclipse

Simon Jones' Blog: Admin sub-modules in Zend Framework

PHPBuilder.com: How to Upload Images Using PHP

PHPMaster.com: Tracking Upload Progress with PHP and JavaScript


Community Events





Don't see your event here?
Let us know!


introduction list code bugfix interview laravel api threedevsandamaybe configure wordpress language series podcast application developer framework install release library community

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework