php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4486 Include & require don't work for some files
Submitted: 2000-05-17 21:28 UTC Modified: 2000-05-21 17:19 UTC
From: medisoft at alohabbs dot org dot mx Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Release Candidate 2 OS: linux 2.2.14
Private report: No CVE-ID: None
 [2000-05-17 21:28 UTC] medisoft at alohabbs dot org dot mx
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 :(

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-21 17:19 UTC] jimw at cvs dot php dot net
duplicate of 4487
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 19:01:26 2024 UTC