ID:               19291
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Duplicate
+Status:           Closed
 Bug Type:         Scripting Engine problem
 Operating System: Solaris 8
 PHP Version:      4.2.3
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2002-09-08 14:03:01] [EMAIL PROTECTED]

Just to be thorough, I also tried the test script with:
<?php echo (int) file_exists(basename($_SERVER['PHP_SELF'])); ?>

It prints a "0", so I guess the bug is not specific to
include file processing.

------------------------------------------------------------------------

[2002-09-08 13:56:54] [EMAIL PROTECTED]

As per Wez's observation... dup of #19287

------------------------------------------------------------------------

[2002-09-08 13:47:49] [EMAIL PROTECTED]

I ran a quick test with trigger_error as suggested, 
and saw the following errors:

Notice: _lib.php does not exist! in /home1/fast1/WWW-data/ess/_ess.php
on line 9

Fatal error: Call to undefined function: requireversion() in
/home1/fast1/WWW-data/ess/_ess.php on line 13

So, it looks like it is the "file_exists" problem.

  - Bob

------------------------------------------------------------------------

[2002-09-08 13:30:51] [EMAIL PROTECTED]

Or even easier, set up a the following test script:
<?php echo (int) file_exists(basename($_SERVER['PHP_SELF'])); ?>
It should print a 1. 

------------------------------------------------------------------------

[2002-09-08 13:29:22] [EMAIL PROTECTED]

Wez asked you that to find out if it was a problem with file_exists().
As an experiment, can you please try adding the else clause as Wez
sugested, and see if it spawns errors on all pages (including those
where _lib.php should be available)?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/19291

-- 
Edit this bug report at http://bugs.php.net/?id=19291&edit=1

Reply via email to