Re: PHP 4.0 Bug #4487: Include & require don't work for some files
| From: | Zeev Suraski | Date: | Wed, 17 May 2000 22:34:24 +0000 |
| Subject: | Re: PHP 4.0 Bug #4487: Include & require don't work for some files | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-18883@lists.php.net to get a copy of this message | ||
This should work fine under PHP 4.0. What kind of problem are you having?
At 21:28 17/05/2000 , medisoft@alohabbs.org.mx wrote:
-- Zeev Suraski <zeev@zend.com> http://www.zend.com/From: medisoft@alohabbs.org.mxOperating system: linux 2.2.14PHP version: 4.0 Release Candidate 2 PHP Bug Type: Scripting Engine problemBug 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??? -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net