Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $dir ="./";
- $chmod =0644;
- $k=fileperms($dir);
- // $chmod= decoct(intval($chmod));
- if ( $k!== $chmod) {
- chmod($dir ,$chmod);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement