ilto:[EMAIL PROTECTED]]
> Sent: Friday, 11 October 2002 9:28 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Calling PHP (cgi) from a perl script and passsing
> parameters
>
>
> What you're referring is CLI, not CGI Version of PHP.
>
> Anyway, i as
11 October 2002 9:28 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Calling PHP (cgi) from a perl script and passsing
> parameters
>
>
> What you're referring is CLI, not CGI Version of PHP.
>
> Anyway, i assume, you're using a PHP
What you're referring is CLI, not CGI Version of PHP.
Anyway, i assume, you're using a PHP version 4.2 or higher.
Have a look at the $_SERVER['argc'] and $_SERVER['argv'].
Sascha
Am Donnerstag, 10. Oktober 2002 23:57 schrieb Jim Carey:
> Hi,
>
> have been having problems passing parameters to
Hi,
have been having problems passing parameters to a PHP script from a Perl script . I
call the PHP script using (as an example):
$a=`/home/ozbcoz/http/testphp.php fred=testing`;
print "$a";
then I have a PHP script showing:
#!/usr/local/php/bin/php -q
";
print "0=$argv[0]"
4 matches
Mail list logo