Bug #10639 Updated: include() & require()
| From: | sniper@php.net | Date: | Thu, 10 May 2001 09:00:46 +0000 |
| Subject: | Bug #10639 Updated: include() & require() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54612@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:
Does it print out any errors? Is your error level
set to E_ALL in php.ini?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
[2001-05-03 13:08:14] sb@bpm.ch
On AIX 4.3.3(ML6) with PHP and Apache from IBM's Linux Toolbox the functions include() and
require() don't work correctly. If these functions are used, a "page not found" error
occures.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10639&edit=2