Bug #54803 [Opn->Fbk]: file_exists() error.
| From: | cmb@php.net | Date: | Fri, 14 Sep 2018 16:52:59 +0000 |
| Subject: | Bug #54803 [Opn->Fbk]: file_exists() error. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-217056@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54803&edit=1
ID: 54803
Updated by: cmb@php.net
Reported by: vinirresko at hotmail dot com
Summary: file_exists() error.
-Status: Open
+Status: Feedback
Type: Bug
Package: *Directory/Filesystem functions
Operating System: Windows XP SP3
PHP Version: 5.3.6
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
> but if it dons't work, I back to post here after.
Since this didn't happen, the issue seams to have been resolved, hasn't it?
Previous Comments:
------------------------------------------------------------------------
[2011-05-18 10:59:18] vinirresko at hotmail dot com
Right, now I'll sleep, but if it dons't work, I back to post here after.
------------------------------------------------------------------------
[2011-05-18 10:56:29] pajoye@php.net
5.3.0? Please try using 5.3.6 or a snapshot.
------------------------------------------------------------------------
[2011-05-18 10:54:30] vinirresko at hotmail dot com
$test = var_dump(file_exists("/class/autenticacao.class.php"));
Returned: bool(false)
$test = var_dump(file_exists("C:\Arquivos de
programas\EasyPHP5.3.0\www\class\autenticacao.class.php"));
Returned: bool(true)
I'm using Apache.
//Sorry, i forget to update pach..
------------------------------------------------------------------------
[2011-05-18 10:53:34] vinirresko at hotmail dot com
$test = var_dump(file_exists("/class/autenticacao.class.php"));
Returned: bool(false)
$test = var_dump(file_exists("/class/autenticacao.class.php"));
Returned: bool(true)
I'm using Apache.
------------------------------------------------------------------------
[2011-05-18 10:48:22] pajoye@php.net
doh.... my mistake but...
ok, let me rephrase:
Please provide:
- cacls output for this file
- test using var_dump(file_exists($path));
- test with an relative path (as in /foo/bar.php not c:/foo/bar.php) and tell
us how it works
- test with an absolute path (as in c:/foo/bar.php not /foo/bar.php) and tell
us how it works
Which SAPI do you use? Apache? FastCgi? Can you try it using the command line
too?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=54803
--
Edit this bug report at https://bugs.php.net/bug.php?id=54803&edit=1