#21434 [Opn->Bgs]: Can't SSI include more than one PHP page

From: Date: Sun, 05 Jan 2003 16:44:38 +0000
Subject: #21434 [Opn->Bgs]: Can't SSI include more than one PHP page
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29118@lists.php.net to get a copy of this message
ID: 21434 Updated by: derick@php.net Reported By: jmanning@alisa-jon.net -Status: Open +Status: Bogus Bug Type: Apache2 related Operating System: Redhat Linux 8.0 PHP Version: 4.2.2 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the existing bug instead. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2003-01-05 10:43:04] jmanning@alisa-jon.net This may be a apache2 SSI bug, I'll report something to them too. Sample page (borrowed from a similar error I found online) Standard SHTML. <html><head><title>Test</title></head> <body> <center> <p>Below, include #1 (hello.php) should appear:</p> [ <!--#include="hello.php" --> ] <p><hr></p><p>Below, include #2 (hello2.php) should appear :</p> [ <!--#include="hello2.php" --> ] </body></html> hello.php <?php echo "HELLO World, include #1"; ?> hello2.php <?php echo "HELLO World, include #2"; ?> Only the first one runs as PHP. The second includes the source of the page into the html document. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21434&edit=1

« previous php.bugs (#29118) next »