|
|
Creating a new folder using PHP - PHP
|
Views : 309
|
|
Tagged in : PHP
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
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 |
|
|
|