I have tried exec(), passthru() but non of these return the array values.
The only function that return me anything is system(), I think it returns
the process number.

What I want to do is able to query the perl script, and have data returned
to PHP.

Normal querying such as
http://www.mydomain.com/check.pl?userid=$userid&pass=$pass

after quering this script, it returns me other values as well.

"Scott Carr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What wrong with:
>
> exec('perl {script name}', $array);
>
> ?
> --
> Scott Carr
> OpenOffice.org
> Documentation Maintainer
> http://documentation.openoffice.org/
>
>
> Quoting Roman Neuhauser <[EMAIL PROTECTED]>:
>
> > > To: [EMAIL PROTECTED]
> > > From: "Chhai Thach" <[EMAIL PROTECTED]>
> > > Date: Tue, 25 Jun 2002 11:03:09 +0930
> > > Subject: [PHP-DEV] Call perl from PHP
> > >
> > > Does anyone know how to call a perl script from a php file and get the
> > > returned data back to the PHP file?
> > >
> > > I have tried using virtual() but this doesn't work because the Perl
> > script
> > > doesn't containt any HTML headers.
> > >
> > > I know to call a perl form from another perl you use something long
this
> > > line:
> > > new HTTP::Request('POST', 'https://myscript/script.pl');
> > >
> > > Is there something similar in PHP, please help. Appreciated. Thanks
> >
> >     Have you seen http://sourceforge.net/projects/phperl/ ??
> >
> > --
> > FreeBSD 4.6-STABLE
> > 6:16PM up 2 days, 15:16, 11 users, load averages: 0.48, 0.55, 0.26
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to