Re: Calling PHP function from Perl - as external program
| From: | Analysis and Solutions | Date: | Thu, 07 Feb 2002 14:58:57 +0000 |
| Subject: | Re: Calling PHP function from Perl - as external program | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83839@lists.php.net to get a copy of this message | ||
Hey Vaclav:
Vaclav Muchna wrote:
>
> system('/fullpath/ob', '100');
> produce this message:
>
> X-Powered-By: PHP/4.1.0
> Content-type: text/html
> No input file specified.
>
> but, when i remove -q parametr from ob, it procude this message:
>
> X-Powered-By: PHP/4.1.0
> Content-type: text/html
> #! /usr/bin/php
>
> Params:
>
> so, it is executed, but seem to be parsed by some other php in system (due
> to string output "#!/usr/bin/php"), but no parametrs are given.
But what does your "ob" script look like? There may be an error in it
causing the "No input file specified" response.
Caio!
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409