Jump to content

check CHMOD value?


LemonInflux

Recommended Posts

OK, in a matter of speaking, I'm building a script that builds itself. It's working fine, but I was struck with a thought; for some of the files that will be script-created, they will need to be 777 CHMOD value. So is there a code that checks a file's CHMOD value? I basically want to say 'if $file has 777 CHMOD do this, else do this'. I can do the if bit, I was just wondering how I would do the CHMOD bit?

Link to comment
https://forums.phpfreaks.com/topic/69460-check-chmod-value/
Share on other sites

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.