Re: file_exists, is_readable & effective UID/GID
| From: | Daniel Brown | Date: | Wed, 24 Oct 2007 17:24:23 +0000 |
| Subject: | Re: file_exists, is_readable & effective UID/GID | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263599@lists.php.net to get a copy of this message | ||
On 10/24/07, Manuel Vacelet <manuel.vacelet@gmail.com> wrote:
> Hi all,
>
> file_exists and is_readable perfom there test with real UID/GID.
> Is there any functions that tests file existance with effective UID/GID ?
>
> Note: stat is not an option because it raises an E_WARNING if the file
> is not readable.
>
> Thanks,
> Manuel
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
That's what you have things like <? ini_set("display_errors",
"off"); ?>
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
Give a man a fish, he'll eat for a day. Then you'll find out he was
allergic and is hospitalized. See? No good deed goes unpunished....