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

AppStorm.net: Using PyroCMS to Manage Content With Simplicity

DevShed: Object-Oriented Programming Through Design Patterns

Jani Hartikainen's Blog: Complex custom elements in Zend_Form

Chris Shiflett's Blog: OSCON 2006 Redux

Richard Thomas' Blog: Solar Articles around the Web


Community Events





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


interview introduction release voicesoftheelephpant unittest deployment language series api laravel bugfix install community opinion package symfony framework zendserver library podcast

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