Hi,
I am trying to create directories on a remote server through the use of a form. A user name is taken in and writes to a database and then further down my code I have:
<?
if(!file_exists(\"/home/supracore/smac/test1/$Formusername\"))
{
(mkdir(\"/home/supracore/smac/test1/$Formusername\", 0777));
}
else
{
print(\"<p>Error in script setup. Please notify the website administrator.\");
}
?>
but i keep getting the error:
Warning: MkDir failed (No such file or directory) in /home/supracore/public_html/smac/test1/distributor.php on line 49
what seems to be the problem?
can anyone help?
thanks,
Steve