Bug #10639 Updated: include() & require()
| From: | sniper@php.net | Date: | Thu, 10 May 2001 09:44:49 +0000 |
| Subject: | Bug #10639 Updated: include() & require() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54629@lists.php.net to get a copy of this message | ||
ID: 10639
Updated by: sniper
Reported By: sb@bpm.ch
Old-Status: Open
Status: Feedback
Bug Type: Scripting Engine problem
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:
So does that same script work if you comment out the
include part? And add some echo "sometext" there?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-10 05:37:37] sb@bpm.ch
There is no php-error visible. My browser (IE 5.5) says that the page can not be found.
---------------------------------------------------------------------------
[2001-05-10 05:34:17] sb@bpm.ch
The binaries from IBM does not contain a php.ini file. In phpinfo() there is no value set to E_ALL.
---------------------------------------------------------------------------
[2001-05-10 05:00:46] sniper@php.net
Does it print out any errors? Is your error level
set to E_ALL in php.ini?
--Jani
---------------------------------------------------------------------------
[2001-05-07 10:00:28] sb@bpm.ch
Here is a sample script:
--- test.php --------------------
<?php
include("test.inc");
?>
---------------------------------
--- test.inc --------------------
<html>
<head>
<title>test</title>
</head>
<body>
<p>this is a test</p>
</body>
</html>
---------------------------------
Normaly you will see on http://www.mydomain.com/test.php the content of the file
test.inc as standard HTML page. On your PHP implementation the page test.php will not be found.
Stephan
---------------------------------------------------------------------------
[2001-05-04 15:33:22] sniper@php.net
Please add some short example scripts into this bug report.
Which explains what you're trying to do.
--Jani
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10639&edit=2