Re: Problem with Include

From: Date: Tue, 24 Dec 2002 05:04:24 +0000
Subject: Re: Problem with Include
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-129248@lists.php.net to get a copy of this message
It's PHP problem because I can include any number of files with other extensions. only PHP which I can not include more than one file at a page... maybe there is something wrong with php.ini notice that I faced with this problem just after I upgraded to (PHP 4.2.1), (Apache2), everything was great before! ----- Original Message ----- From: "Tom Ray" <tom@blazestudios.com> To: "sport4ever" <sport@sport4ever.net> Sent: Tuesday, December 24, 2002 6:03 AM Subject: Re: [PHP] Problem with Include > You need to post your code that you are using....this isn't really a PHP > problem this is a SSI problem... > > sport4ever wrote: > > >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 (#129248) next »