RE: [PHP] run perl script with php
| From: | bruce | Date: | Thu, 22 Jul 2004 13:47:00 +0000 |
| Subject: | RE: [PHP] run perl script with php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191523@lists.php.net to get a copy of this message | ||
Tassos,
just what are you trying to do? if you're trying to run a perl app from a
commandline php function, that's one thing. if you're trying to create a
php/web based app, and you want to run an existing perl app that's sitting
on your server, that's another.
either way, it's possible/reasonably easy to run the perl app from within
php via what are called shell commands (exec/system/passthru). however, you
need to be aware of the process prviliege/permissions issues with regards to
the process that apache runs as, and the permissions/ownership of the
targeted perl app, as well as any file i/o that may occur within the perl
app...
people who tell you that it can't be done, don't have a deep knowledge of
what's possible... welcome to email lists.. where you might get what you pay
for!!!
-bruce
-----Original Message-----
From: Tassos T [mailto:nereus0@freemail.gr]
Sent: Thursday, July 22, 2004 2:43 AM
To: php-general@lists.php.net
Subject: [PHP] run perl script with php
hello,
i faced a small problem i have a perl script but i want to execute that
in a php script. unfortunately i cannot convert to php.
please advice.
regards
Tassos
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php