Creating a new folder using PHP - PHP Views : 337
Tagged in : PHP
0 0
Send mail

Creating a new folder using PHP



Here is the code which helps you to create folder usign php...


<?php
$folder = $_REQUEST['foldername'];
if(is_dir("E:\\Hiox\\Menus\\$folder"))
echo "directory exists!";
else
{
mkdir("E:\\Hiox\\Menus\\$folder");
echo "folder created";
}
?>




<form action= "folder.php" method="post">
<input type="text" name = "foldername" size="30" />
<input type="submit" value="Add" />

By Sanju, On - 2010-06-23



    Login to add Comments .