From 701376edccd0a12be88deb87482aa468896bb5fe Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 27 Jul 2004 20:33:55 +0000 Subject: [PATCH] Works only under Apache module (bug #27111) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164490 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/apache/functions/virtual.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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