php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2232 Problem with include or require
Submitted: 1999-09-03 11:08 UTC Modified: 1999-09-09 10:25 UTC
From: bdarroch at ecommerce-europe dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 2 OS: Redhat 6.0
Private report: No CVE-ID: None
 [1999-09-03 11:08 UTC] bdarroch at ecommerce-europe dot com
index.php3 is
<?
require("brian.inc");
phpinfo();
?>

where brian.inc is
<?php
echo "hello";
?>

This returns a Netscape error which says
"The document returned no data"
I have tried using include and require.
I am using the default php.ini

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-09 10:25 UTC] andi at cvs dot php dot net
Make sure you're using Apache 1.3.9, as previous versions had a bug which showed itself with include/require.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Oct 26 21:01:24 2020 UTC