PHP 4.0 Bug #4804: virtual() mishbehaves when including ssi pages which in turn include php
| From: | valerio at caldera dot it | Date: | Sun, 04 Jun 2000 15:30:18 +0000 |
| Subject: | PHP 4.0 Bug #4804: virtual() mishbehaves when including ssi pages which in turn include php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20185@lists.php.net to get a copy of this message | ||
From: valerio@caldera.it
Operating system: linux 2.2.14 - i386
PHP version: 4.0.0 Release
PHP Bug Type: Misbehaving function
Bug description: virtual() mishbehaves when including ssi pages which in turn include php
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=""--> ?