Jump to content

[SOLVED] Getting The File Permission Of A File


tarun

Recommended Posts

I Know How To Change The File Permission (Chmod)

 

But How Do You Check What The File Permission Is In The First Place And Store It In A Variable

 

Eg.

$fileperm = Unknown;

 

echo '[ File Permission Of "index.php" : '.$fileperm.' ]';

 

 

Where Unknown Is The Function Or Whatever Which Gets The File Permission

 

 

 

Sorry If This Is Worded A Bit Stupidly But Any Help Is Appreicated

 

ThanX,

Tarun

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.