Hi!
i am trying to create a very simple ftp page on my website which will allow users to upload files and make directories and upload files to those directories as well as delete files and directories.
So i got to about here:
[php]<?php
$createdir = $_POST[‘create’];
$nameoffile = $_POST[‘nameoffile’];
if ($createdir) {
mkdir(“uploads/” . $nameoffile, 0777);
echo “Folder created”;}
else echo “Failed to create folder”;
?>[/php]
this is for a small form that allows user to put his filename and upload it. I get this error
Warning: mkdir() [function.mkdir]: No such file or directory in /path/path/path
can someone help me out please?