When I try to upload a file for my map reviews database system, I get this error.
Warning: SAFE MODE Restriction in effect. The script whose uid is 595 is not allowed to access C:\Documents\My CdkEys\blah.txt owned by uid 540 in /home/net/blue/scorg/public_html/scums/reviews/admin/admin.php on line 192
Error uploading file. Are directory permissions amenable?
Here is the file upload part of the script (everything but that works fine!)
if($mapsource != "none") {
if (copy($mapsource, "$dir/files")) {
print("<br>successful upload of $mapsource<br>");
}
else {
print('Error uploading file. Are directory permissions amenable?');
}
}
else {
print('No file was submitted. Go back and choose a file, please');
}