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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Mon Jun 24 11:01:32 2024 UTC