Re: Problem with Include

From: Date: Wed, 25 Dec 2002 09:08:15 +0000
Subject: Re: Problem with Include
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-129317@lists.php.net to get a copy of this message
Thanks to all whom answered me while there is no solution for my problem (including more than one PHP file in a HTML page through SSI) :( I want to return to my server old configuration, It was: RedHat Linux 7.3 Apach 1.3 PHP 4.0.1 except PHP, because I have encountered some problems with PHP 4.0.1, and please tell me what I (exactly) suppose to reinstall (Linux,Apache or PHP)... Is there any way to undo my upgrade ( what I call downgrade :-) )? thanx anyway ______ http://www.sport4ever.net Administrator of Sport4ever.Net admin@sport4ever.net ----- Original Message ----- From: "sport4ever" <sport@sport4ever.net> To: <php-general@lists.php.net> Cc: "Tom Ray" <tom@blazestudios.com> Sent: Tuesday, December 24, 2002 8:04 AM Subject: Re: [PHP] Problem with Include > 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! > > > > > 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 (#129317) next »