php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4804 virtual() mishbehaves when including ssi pages which in turn include php
Submitted: 2000-06-04 17:30 UTC Modified: 2000-06-09 04:57 UTC
From: valerio at caldera dot it Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.0 Release OS: linux 2.2.14 - i386
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: valerio at caldera dot it
New email:
PHP Version: OS:

 

 [2000-06-04 17:30 UTC] valerio at caldera dot it
 I have encoutered a problem while using php and ssi pages together.
 If i have a (say) p1.shtml page with something like <!--#include
virtual="file.php"--> in it, and i include THAT page (p1) from another
 .shtml page, with <!--#include virtual..-->, it works perfectly. If i
  include that page (yes, p1.shtml :) from a php3 script with <?
virtual("p1.shtml") ?> , i get an empty response! Seems like that
ssi->ssi->php recursive inclusion works, and php->ssi->php not (using
the respective "include virtual" functions, obiously).
So is virtual() someway different from <!--#include virtual=""-->  ?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-09 04:57 UTC] zeev at cvs dot php dot net
PHP is not reentrant, which is why you can't refer to PHP pages from virtual(), whether it's directly or indirectly (through SSI)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 13 04:01:32 2024 UTC