how can I check that is the file or folder "prepared" for writing/appending? is there some function to check the file permission like: if($file_permission ne "755") {...
| mty / mikko tyni | aukioCommunications
http://www.php.net/manual/en/function.fileperms.php looks about right.