PHP 4.0 Bug #4486: Include & require don't work for some files

From: Date: Wed, 17 May 2000 19:28:34 +0000
Subject: PHP 4.0 Bug #4486: Include & require don't work for some files
Groups: php.dev 
Request: Send a blank email to php-dev+get-18873@lists.php.net to get a copy of this message
From: medisoft@alohabbs.org.mx Operating system: linux 2.2.14 PHP version: 4.0 Release Candidate 2 PHP Bug Type: Scripting Engine problem Bug description: Include & require don't work for some files Hi everyone!, i found a bug or a incompatibility of PHP4RC2 to php3.0.15.... on php3 i use something like this <pre> <? include "init.inc"; ...code... include "end.inc"; ?> </pre> init.inc file contains something like this <pre> <? if($var==1) { ?> </pre> and end.inc contains this <pre> <? } ?> </pre> This works well on php3, i used it for including some security and validation header, but it doesn't work on PHP4RC2 Is it needed some flag at compilation time or on php.ini file??? i realy need this, otherwise i will need to modify all my code :(

« previous php.dev (#18873) next »