Re: virtual() test
| From: | Tom Rogers | Date: | Fri, 28 Feb 2003 03:16:56 +0000 |
| Subject: | Re: virtual() test | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137501@lists.php.net to get a copy of this message | ||
Hi,
Friday, February 28, 2003, 12:09:30 PM, you wrote:
JWH> Can anyone with Apache verify that you can pass arguments inside of a
JWH> virtual() call? Something like:
JWH> Virtual("script.pl?id=1")
JWH> And have $id available within script.pl.
JWH> I don't have access to an Apache server right now to test, so thank you
JWH> very much.
JWH> ---John W. Holmes...
JWH> PHP Architect - A monthly magazine for PHP Professionals. Get your copy
JWH> today. http://www.phparch.com/
it shows up under
_SERVER["QUERY_STRING"] => id=1
I ran the following script (virt) in cgi-bin
#!/usr/bin/php
<?php
header('Content-type: text/plain');
echo "\n";
echo 'Test script report';
phpinfo(32);
?>
Then virtual('/cgi-bin/virt?id=1');
--
regards,
Tom