mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
fb0b1d0c04
commit
701376edcc
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue