Advertisement
Guest User

Untitled

a guest
Oct 4th, 2015
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. $dir ="./";
  2. $chmod =0644;
  3. $k=fileperms($dir);
  4. // $chmod= decoct(intval($chmod));
  5. if ( $k!== $chmod) {
  6. chmod($dir ,$chmod);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement