Bug #1761: require/include functions broken -- give "document contains no data error"

From: Date: Tue, 20 Jul 1999 18:14:41 +0000
Subject: Bug #1761: require/include functions broken -- give "document contains no data error"
Groups: php.dev 
Request: Send a blank email to php-dev+get-8788@lists.php.net to get a copy of this message
From: dmf14@cornell.edu Operating system: Linux 2.2.10 (RedHat 6.0) i686 PHP version: 4.0 Beta 1 PHP Bug Type: Misbehaving function Bug description: require/include functions broken -- give "document contains no data error" Using the include or require function, seemingly anywhere, in a PHP script yields a "Document contains no data" error in Netscape or a "Unexpected network read error; connection aborted/Unable to access document" error in lynx. Example: file "foo.inc" contains one line: Hello file "foo.php" contains six lines: <html><head><title>Hello World!</title></head><body> <? require('foo.inc'); echo " world!<br>\n"; ?> </body></html> Compile Information: Have PHP4 compiled as a shared Apache module (DSO) under Apache 1.3.6. Configure line: ./configure --with-apxs=/usr/sbin/apxs --with-mysql --enable-track-vars

« previous php.dev (#8788) next »