note 9182 rejected and deleted from virtual by ronabop
| From: | ronabop@php.net | Date: | Sun, 22 Oct 2000 04:11:13 +0000 |
| Subject: | note 9182 rejected and deleted from virtual by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6818@lists.php.net to get a copy of this message | ||
The docs above say that the Virtual() function is supposed to be equivalent to <!--#include
virtual...--> in mod_include. However, I am trying to include a .jsp file in my page. I use
this command in a .shtml file:
<!--#include virtual="sample.jsp" -->
and that works just fine. However, when I try a similar statement in PHP, the include doesn't
work:
<?php virtual("sample.jsp"); ?>
Instead of including the sample.jsp file, it includes the contents of the current file (index.php)!
Is that weird or what? Anyone else tried to include a JSP file inside PHP with the
'virtual' tag?
--dante