I am having trouble with creating directories to upload a picture to. It will create the directory and the picture can be viewed. But they cannot be updated or deleted.
FTP Permission Denied.
Am I using mkdir correctly here? or what?
thanks for your help... here is a bit of the code i am using.
if ($numberofpics != ""){
if ($pic1_name != ""){
if ((mkdir("../../bands/bandpics/$bandname", 0555))){
copy("$pic1", "../../bands/bandpics/$bandname/$pic1_name")
or die("Couldn't copy the file!");
} else {
die("No input file specified");
}
}
}