Return to Snippet

Revision: 13457
at April 24, 2009 04:06 by bionic


Initial Code
$dir = 'your/directory/';
foreach(glob($dir.'*.*') as $v){
unlink($v);
}

Initial URL
http://www.daniweb.com/code/snippet868.html

Initial Description

                                

Initial Title
Delete all files in folder on server - php

Initial Tags
unix

Initial Language
PHP