ID: 25613
User updated by: joe at kybert dot com
Reported By: joe at kybert dot com
Status: Bogus
Bug Type: Output Control
Operating System: XP
PHP Version: 4.3.2
New Comment:
ok, its $DOCUMENT_ROOT var contains nothing 4.3.2 so i guess it is
bogus, not sure why this var sudenly dissapears, but it has and its
crippled a 20'000+ page site.
joe
#
Previous Comments:
------------------------------------------------------------------------
[2003-09-20 03:55:26] [EMAIL PROTECTED]
Also read the manual page about require()
------------------------------------------------------------------------
[2003-09-20 03:54:58] [EMAIL PROTECTED]
There is no bug here. Try adding 'error_reporting(E_ALL);' as first
line in your script and you'll propably find out why it fails. And
possibly ini_set('display_errors',1); too.
------------------------------------------------------------------------
[2003-09-20 03:49:18] joe at kybert dot com
thats a typo on my part, the issue is still there, after a call to:
require_once(....)
the parser apears to stop dead... NO OUTPUT !
joe
#
------------------------------------------------------------------------
[2003-09-20 03:46:21] [EMAIL PROTECTED]
Try removing the $ in front of echo.. (it's not variable..)
------------------------------------------------------------------------
[2003-09-20 03:44:56] joe at kybert dot com
Description:
------------
Try this:
in a web page, include a file using this
<?php
// or what ever addy you feel fit (the included page can be empty)
$open = "/pages/extras.inc.php";
require_once($open);
$echo "hello world!";
?>
i never get to see the "hello world" message.... works fine in
PHP4.3.0, not in 4.3.2
joe
#
Expected result:
----------------
hello world! should be displayed
Actual result:
--------------
blank page
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25613&edit=1