RE: [PHP] Migrating from SSI and Perl
| From: | Philip Pawley | Date: | Fri, 26 Dec 2003 22:40:56 +0000 |
| Subject: | RE: [PHP] Migrating from SSI and Perl | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173344@lists.php.net to get a copy of this message | ||
Hi Radek,
I tried to do something with this and failed dismally.
Is it possible for you to give me a really basic working example of what you suggest?
Thanks,
Philip Pawley
At 26/12/03 12:29 -0500, you wrote:
>Check out shell_exec() and its siblings. I'd likely use it like so $output =
>shell_exec("perl myscript.pl"); and then do something with the $output
>variable
>
>R>
>
>> -----Original Message-----
>> From: Philip Pawley [mailto:philip@alexanderworks.org.uk]
>> Sent: December 26, 2003 12:07 PM
>> To: php-general
>> Subject: [PHP] Migrating from SSI and Perl
>>
>>
>> I am new to php.
>>
>> My site, at the moment, uses SSI to call a Perl browser-sniffing script.
>>
>> I would like to:
>> 1. use php to call the Perl script.
>> 2. then save the values the Perl script outputs as php variables.
>>
>> Can this be done? If so, how?
>>
>> Thanks,
>>
>> Philip Pawley