Hi,
I'm trying to test for any files that are writable.
I created 2 files to test, one writeable and the other not.
I've tried various ways of addressing, but get WRITABLE every time.
<?php
clearstatcache();
$filename = "/home/circlec/public_html/test1.php";
if (is_writable($filename)) {
echo $filename.'<b style="color:red"> WRITABLE</b>';
}
else {
echo $filename.' SAFE';
}
?>
Can anyone give me some ideas?
Thanks, Bob.
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/