Problem with Include

From: Date: Tue, 24 Dec 2002 01:34:45 +0000
Subject: Problem with Include
Groups: php.general 
Request: Send a blank email to php-general+get-129238@lists.php.net to get a copy of this message
Hello, my problem is that I can't use more than one SSI INCLUDE in a page.... Please access this test page to check the problem yourself: http://www.sport4ever.com/test/hello.shtml The first INCLUDE will appear correctly and prints "HELLO World, include #1" which is the output of "hello.php" Whereas the second INCLUDE won't appear, and instead, it will print the content (code) of "hello2.php", which is the follwoing: <? echo "HELLO World, include #1"; ?> So, it always executes the first include statement perfectly, and doesn't execute the rest! note: the problem appears only if I include a PHP file, it will execute it correctly if it's a SHTML or HTML file. PLEASE is there any solution for this strange problem!

« previous php.general (#129238) next »