Custom Search

News World

Oct 28, 2008

PHP Script : Section 14 : How to create new directory tree file in browser by PHP Script?



// Crete New Directory

//**********************************************

$d = dir("./$drr");

if($_POST[cmdcdir]!=''){

mkdir ($drr."/".$_POST[txtcname], 0700);?>

}
//**********************************************


//echo "Handle: ".$d->handle."
\n";
echo "Path: ".$d->path."
\n";
while (false !== ($entry = $d->read())) {
if (!is_dir($entry)){
echo " - ".$entry."
\n";
}else{
echo "[+] a href="'?drr="">".$entry." /a
\n";
}
}
$d->close();
?>

more : web.solusi@gmail.com

No comments:

IT Conversations

Moneycontrol Latest News

Latest new pages on Computer Hope

Latest from Infoworld

Door Lock

Door Lock Import Top Door Lock from China Contact Quality Manufacturers Now