#19348 [NEW]: File_exists problem?
| From: | vinicius at teracom dot com dot br | Date: | Tue, 10 Sep 2002 23:30:13 +0000 |
| Subject: | #19348 [NEW]: File_exists problem? | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-18990@lists.php.net to get a copy of this message | ||
From: vinicius@teracom.com.br
Operating system: Redhat 7.3 2.4.18
PHP version: 4.2.3
PHP Bug Type: *Directory/Filesystem functions
Bug description: File_exists problem?
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 bug report at http://bugs.php.net/?id=19348&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19348&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19348&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19348&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19348&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19348&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19348&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19348&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19348&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19348&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19348&r=globals