I have a script that checks an attachments dir for is_writable before moving the uploaded file to it, but it's returning false. The dir is 755 and I believe it should be enough to work. Is this a problem with phpsuexec or the way that function works?
is_writable problem
Collapse
X
-
I just tested on a directory of mine set to 755 with the following code and it worked fine.
DavidPHP Code:<?php
if(is_writable('/home/username/public_html/directory') == true) {
echo 'Writable';
} else {
echo 'Not Writable';
}
?>-----
Do you fear the obsolescence of the metanarrative apparatus of legitimation?

Comment