Tryag File Manager
Home
-
Turbo Force
Current Path :
/
home
/
cluster1
/
data
/
bu01
/
1121861
/
html
/
scripts
/
jlex-php5
/
Upload File :
New :
File
Dir
//home/cluster1/data/bu01/1121861/html/scripts/jlex-php5/chmod.php
<? $directory = "testjj"; if ($handle = opendir("../$directory")) { /* This is the correct way to loop over the directory. */ while (false !== ($file = readdir($handle))) { if(($file != ".") && ($file != "..")) unlink("../$directory/$file"); } closedir($handle); } ?>