passthru() passing variables
| From: | Chris Herold | Date: | Thu, 16 Jun 2005 00:36:51 +0000 |
| Subject: | passthru() passing variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-217042@lists.php.net to get a copy of this message | ||
Hi,
I have been told that in order to pass variables via passthru() to another script (in my case, a perl script) one can do the following ...
passthru("home/test.cgi $var")
and that $var will then be passed through to the cgi.
I have tried this and failed.
Is this the proper format or is there something that I am missing.
Thanks,
chris