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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: medisoft at alohabbs dot org dot mx
New email:
PHP Version: OS:

 

 [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 21:01:26 2024 UTC