Works only under Apache module (bug #27111)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164490 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2004-07-27 20:33:55 +00:00
parent fb0b1d0c04
commit 701376edcc

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/apache.xml, last change in rev 1.20 -->
<refentry id="function.virtual">
<refnamediv>
@ -25,6 +25,15 @@
To run the sub-request, all buffers are terminated and flushed to the
browser, pending headers are sent too.
</para>
<warning>
<para>
This function works only when PHP is compiled as an Apache module,
since it uses the Apache API for doing sub requests. Query string can be
passed to the included file but <varname>$_GET</varname> is copied from
the parent script and only <varname>$_SERVER['QUERY_STRING']</varname> is
filled by the passed query string.
</para>
</warning>
<para>
As of PHP 4.0.6, you can use <function>virtual</function> on PHP files.
However, it is typically better to use <function>include</function> or