Advertisement
Virajsinh

File Or Folder Permission Check in PhP

May 3rd, 2023 (edited)
1,138
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.07 KB | Source Code | 0 0
  1. <?php
  2.     echo substr(sprintf("%o", fileperms("test.txt")),-4); // 0755
  3. ?>
Advertisement
Comments
  • TopZone
    1 year
    Comment was deleted
Add Comment
Please, Sign In to add comment
Advertisement