On Nov 1, 2010, at 9:21 AM, Daniela Floroiu wrote:


I need to make an apache sub-request like:


where the parameters are different from the parameters of the original
I tried to set param1 and param2 in $_GET, $_REQUEST,
$_SERVER['QUERY_STRING'] but without success: what script.php receives are nothing less and nothing more than the original parameters with the original

any ideea how one could touch the parameters being passed to a sub- request?


I can see no way of passing parameters to a file called by virtual(). If you really need to do this, consider using include/require. If it indeed needs to be a separate server call, consider doing something with file_get_contents() or curl.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to