Re: Perl and PHP
| From: | lists at mhess dot qn dot net | Date: | Wed, 06 Mar 2002 21:43:09 +0000 |
| Subject: | Re: Perl and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87540@lists.php.net to get a copy of this message | ||
Ok,
I got it to work.....now how do I take a varaible back into PHP
I do a $var = system("/path/to/cgi $varforCGI")
and in the CGI script I do a print $varforPHP
however it prints the varforPHP to the broswer, I need it saved it var
Any (more) help would be great!!
Michael
On Wed, 6 Mar 2002 lists@mhess.qn.net wrote:
> I need to pass a variable to Perl from a PHP script. I am somewhat know
> PHP but I do NOT know perl....I am running my perl script off of the
> command line. I tried /path/to/somewhere/script.pl?var=var
>
> but it did not work.
>
> I would love any help you could provide me
>
> Thanks,
> Michael
>
>
>