#19348 [Fbk->Csd]: File_exists problem?
| From: | edink@php.net | Date: | Wed, 11 Sep 2002 08:47:33 +0000 |
| Subject: | #19348 [Fbk->Csd]: File_exists problem? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19016@lists.php.net to get a copy of this message | ||
ID: 19348
Updated by: edink@php.net
Reported By: vinicius@teracom.com.br
-Status: Feedback
+Status: Closed
-Bug Type: Apache2 related
+Bug Type: Filesystem function related
Operating System: Redhat 7.3 2.4.18
PHP Version: 4.2.3
New Comment:
This bug has been fixed in the STABLE branch. You can get the fixed
version at http://snaps.php.net/php4-STABLE-latest.tar.gz
which is
basically 4.2.3 + a couple of fixes.
Previous Comments:
------------------------------------------------------------------------
[2002-09-10 19:41:59] sniper@php.net
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
------------------------------------------------------------------------
[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