How do I find out if php has write permission to a directory?
Hi
I\'m not sure but I think this will help you.
if ($fp = fopen($file, \"w\")) {
}
Cyrill
http://be.php.net/manual/en/function.fileperms.php
Also seems to work for directorys ...
Oh forgot you can get PHP's UID with getmyuid