diff --git a/reference/apache/functions/virtual.xml b/reference/apache/functions/virtual.xml index 78af083985..f4dc2a69d6 100644 --- a/reference/apache/functions/virtual.xml +++ b/reference/apache/functions/virtual.xml @@ -1,5 +1,5 @@ - + @@ -25,6 +25,15 @@ To run the sub-request, all buffers are terminated and flushed to the browser, pending headers are sent too. + + + 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 $_GET is copied from + the parent script and only $_SERVER['QUERY_STRING'] is + filled by the passed query string. + + As of PHP 4.0.6, you can use virtual on PHP files. However, it is typically better to use include or