Apache, php, perl ako root
Peter Luciak
peter na luciak.org
Úterý Duben 27 21:33:29 CEST 2004
On Mon, Apr 26, 2004 at 04:32:38PM +0200, Milan KUNDRAT wrote:
>
> Dobry den
>
>
> Chcel by som v php skriptoch spustat perlovske skripty, pripadne priamo
> perlovske cgi skripty s rootovskymi pravami. Mam Debian, www server je
> apache. Mozte ma niekto nasmerovat ako sa to robi?
Pre archiv: http://www.zend.com/php5/articles/php5-perl.php
The PHP Perl extension was implemented to allow the usage of Perl code
from within PHP. It is a wrapper that embeds the Perl interpreter and
converts data from PHP to Perl and back. At the time of writing it only
provides a one-way interface from PHP to Perl, but in the future it could
be extended to implement a full two-way interface. The Perl extension
allows the programmer to do the following from a PHP script:
Az od PHP5.
bye
c.
--
Peter `cuco' Luciak jabber://cuc0@jabber.sk
peter na luciak.org http://www.luciak.org/
So, logically, if she weighs the same as a duck, she's made of wood,
and therefore ... a witch!
-- Monty Python,
"To Tell a Witch"
Další informace o konferenci Linux