#19348 [Opn->Dup]: File_exists problem?
| From: | edink@php.net | Date: | Tue, 10 Sep 2002 23:36:36 +0000 |
| Subject: | #19348 [Opn->Dup]: File_exists problem? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18991@lists.php.net to get a copy of this message | ||
ID: 19348
Updated by: edink@php.net
Reported By: vinicius@teracom.com.br
-Status: Open
+Status: Duplicate
Bug Type: *Directory/Filesystem functions
Operating System: Redhat 7.3 2.4.18
PHP Version: 4.2.3
New Comment:
Duplicate of #19287
Previous Comments:
------------------------------------------------------------------------
[2002-09-10 18:30:13] vinicius@teracom.com.br
I was using Apache 2.0.39 with php 4.2.2 and everything was going fine.
When i change to Apache 2.0.40 with 4.2.3 with the same configurantion,
the function file_exists do not work anymore.
This is the part of the script:
if (!file_exists("subs/$sub.htm")) {
$op = fopen("/home/httpd/sistema/logerror.txt", "a");
$ins = fputs($op, "Try accessing $sub.htm\n");
$close = fclose($op);
Header("Location: portal.php?sub=error");
exit;
}
Regards,
Vinicius Mommensohn
Maringa - PR - Brazil
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19348&edit=1