$file = "./users/common/male_photo_na.gif"; $to = "./users/dir/";
chmod( $file, 0755); chmod( $to, 0755);
copy($file, $to);
chmod isn't supported for iis. how would i do this? thx...
i think you have to change the permissions in IIS itself to allow read and write permissions etc