vrana           Tue Jul 27 16:33:55 2004 EDT

  Modified files:              
    /phpdoc/en/reference/apache/functions       virtual.xml 
  Log:
  Works only under Apache module (bug #27111)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/apache/functions/virtual.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/apache/functions/virtual.xml
diff -u phpdoc/en/reference/apache/functions/virtual.xml:1.7 
phpdoc/en/reference/apache/functions/virtual.xml:1.8
--- phpdoc/en/reference/apache/functions/virtual.xml:1.7        Mon Mar 22 10:15:06 
2004
+++ phpdoc/en/reference/apache/functions/virtual.xml    Tue Jul 27 16:33:55 2004
@@ -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

Reply via email to