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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Thu May 23 19:01:38 2024 UTC