On Wednesday 17 July 2002 07:57, [EMAIL PROTECTED] wrote:
> Hello ,
>
> I am trying to call a cgi script from a PHP script and get it to return
> some data.
> I am using the script below but it does not seam to work.
> The cgi script (or I should say function) I am trying to call is in a
> perl pm file. I have include a copy of the function I am trying to
> call. Does anybody know what I am doing wrong.
>
> $username= "sdfsfs";
> $cmd="/usr/lib/perl5/site_perl/5.005/Email.pm::mail_virtuser_get_byuser
> $username"; $returndata=exec($cmd);
> echo $returndata;

What _should_ your perl script return? Also RTFM for exec().

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Prediction is very difficult, especially of the future.
                -- Niels Bohr
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to