Mutley Posted September 17, 2006 Share Posted September 17, 2006 How do you create folders using PHP? Like you would via FTP? Able to give it a name to? Link to comment https://forums.phpfreaks.com/topic/21070-creating-folders-via-php/ Share on other sites More sharing options...
AndyB Posted September 17, 2006 Share Posted September 17, 2006 http://ca.php.net/manual/en/function.mkdir.php Link to comment https://forums.phpfreaks.com/topic/21070-creating-folders-via-php/#findComment-93550 Share on other sites More sharing options...
Wintergreen Posted September 17, 2006 Share Posted September 17, 2006 http://www.php.net/manual/en/function.mkdir.php Link to comment https://forums.phpfreaks.com/topic/21070-creating-folders-via-php/#findComment-93552 Share on other sites More sharing options...
redarrow Posted September 17, 2006 Share Posted September 17, 2006 quick example for you.[code]<?phpif(isset($_POST['submit'])){$name=$_POST['name'];@mkdir($name);}?><form method="POST" action="test_name.php"><br>please tell me your dir name<br><input type="text" name="name"><br><input type="submit" name="submit" value="send">[/code]The rest read the link ok. Link to comment https://forums.phpfreaks.com/topic/21070-creating-folders-via-php/#findComment-93553 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.