You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
|
|
function hasPermissions($path) {
|
|
|
|
// Check if the given path is readable and writable
|
|
// Both functions are also verifying that the path exists
|
|
if (is_readable($path)===true&&is_writeable($path)===true) return true;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
?>
|