#19348 [Dup->Fbk]: File_exists problem?
| From: | sniper@php.net | Date: | Wed, 11 Sep 2002 00:41:59 +0000 |
| Subject: | #19348 [Dup->Fbk]: File_exists problem? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18994@lists.php.net to get a copy of this message | ||
ID: 19348
Updated by: sniper@php.net
Reported By: vinicius@teracom.com.br
-Status: Duplicate
+Status: Feedback
-Bug Type: *Directory/Filesystem functions
+Bug Type: Apache2 related
Operating System: Redhat 7.3 2.4.18
PHP Version: 4.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-09-10 18:36:36] edink@php.net
Duplicate of #19287
------------------------------------------------------------------------
[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