At 03:09 28.02.2003, John W. Holmes said: --------------------[snip]-------------------- >Can anyone with Apache verify that you can pass arguments inside of a >virtual() call? Something like: > >Virtual("script.pl?id=1") > >And have $id available within script.pl. > >I don't have access to an Apache server right now to test, so thank you >very much. --------------------[snip]--------------------
Nope - doesn't work (Apache 1.327, PHP 4.2.3). Here's a URL for you to check this out: http://www.vogelsinger.at/test.php Basically the test.php offers you the choice to either virtual() or readfile() an external file, passing URI parameters. As you can see when using virtual() the callee has the same environment as the caller, however using readfile() via HTTP everything works as expected. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php