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? Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.