I've written a little script (I call it isWritable.php) that detects all directories in the same directory the script is in and writes to the page whether each directory is writable or not. Hope this helps.
';
} else {
echo $dir.' is not writable. Permissions may have to be adjusted.
';
}
}
?>