Re: Found bug, Where to report bugs properly?
| From: | Kevin Stone | Date: | Tue, 22 Oct 2002 20:28:40 +0000 |
| Subject: | Re: Found bug, Where to report bugs properly? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120977@lists.php.net to get a copy of this message | ||
You're right, it does seem that file_exists() should be more general than
that. But you can always test with is_file() and is_link() instead.
http://www.php.net/manual/en/function.is-link.php
-Kevin
----- Original Message -----
From: "Brad Dameron" <bdameron@tscnet.com>
To: <php-general@lists.php.net>
Sent: Tuesday, October 22, 2002 1:00 PM
Subject: [PHP] Found bug, Where to report bugs properly?
> Found a small issue with "file_exists". Under unix if you remove the file
> that a symbolic link is pointing to then the file_exists function no
longer
> see's it as a file. This can be true because it is a link to a file.
However
> it still should see it as a file for programming reasons. Or can someone
> explain to me why it wouldn't?
>
> ---
> Brad Dameron Network Account Executive
> TSCNet Inc. www.tscnet.com
> Silverdale, WA. 1-888-8TSCNET
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>