i wana have it so when you press the "submit" button, it creates a directory, and the directory name is the name that is in the textbox.
so like in the index.html file i have this:
<form method='post' action='foldercreate1.php' enctype='multipart/form-data'> <!-- the textbox. this is what should be the folder Name: --> <input name="foldername1" type="text" value="" maxlength="18"> <br> <!-- the submit button: --> <input type="submit" value="Create Folder"> </form>
and so the variable of the text in the textbox is "foldername1". correct?
and in the foldercreate1.php i have this:
<?php mkdir($_FILES['foldername1']); ?>
and an error comes up saying:
Warning: mkdir() [function.mkdir]: No such file or directory.
so like yea, what do i do?