Posted by Janwillem Borleffs on 12/18/13 11:44
Jackson wrote:
> How can I check to see if a particular file is accessible? I'd like my
> links to be displayed in red if they are available and to be displayed
> in green if they are unavailable. At the command line, I'll chmod the
> files when I want to make them available.
>
Have a look at is_readable and comparable functions.
JW
[Back to original message]
|