Hi I am running a IIS server on an XP pro machine.
When I try to upload a file to a folder i manualy (the script does not seem to have the necessary premistions to create an directory) created I get an error saying:
change permission to 777 failed.
it is this peace of code that give´s me the error.
[CODE] $result = move_uploaded_file($temp_name, $file_path);
if (!chmod($file_path,0777))
$message = “change permission to 777 failed.”;
I have given it all access I can think of, but when I check the attributes in explorer it says read-only. But in command prompt with the attrib command it only returns the “S” attribute.
I have been able to upload one file yesterday but something happened and I no longer can upload.
what is wrong?
// Fredrik