I have a fairly simple script that creates a directory depending on the text entered in a field. But the mkdir will not work. It works on our local test server and another server we have but it will not work on the Verio VPS server I am working on.
I can't mkdir or upoad a file using php.. it does not throw any errors and enteres the information in the MySQL database just fine. It just won't mkdir or upload.. The script follows through just fine and gives no errors.
I have checked the php.ini and uploads are on and size is fine. Even when I dumb the script down to just
It wont work.
Any thing I may be missing?
$uploaddir = $_POST["room"];
$uploaddir2 = "'" . $_POST["room2"] . "'";
$pathway = ("'" . "/backoffice/rooms/" . $_POST["room2"] . "'");
$docsdir = $uploaddir . "/docs";
$projecto = $_POST["project"];
mkdir($uploaddir, 0775, true);
mkdir($docsdir, 0775, true);