php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19348 File_exists problem?
Submitted: 2002-09-10 18:30 UTC Modified: 2002-09-11 03:47 UTC
From: vinicius at teracom dot com dot br Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.2.3 OS: Redhat 7.3 2.4.18
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vinicius at teracom dot com dot br
New email:
PHP Version: OS:

 

 [2002-09-10 18:30 UTC] vinicius at teracom dot com dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-10 18:36 UTC] edink@php.net
Duplicate of #19287
 [2002-09-10 19:41 UTC] 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-11 03:47 UTC] edink@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 16:01:27 2024 UTC