in reply to how to check permissions
You can use stat() to get the mode of the file and check it with your code:
$filemode=(stat($filename))[2]; #check permissions here with slick XOR
Cheers
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: how to check permissions
by Anonymous Monk on May 01, 2003 at 17:35 UTC |