> http://php.net/manual/en/function.exec.php
>
> $return = exec("/pathtocgi/script.cgi VAR1 VAR2 &");
>
> if you want the data returned, its in $return.
If there are multiple lines returned, you'll only get the last line in
$return.
See the manual link to get the full info.
Matt Friedman
----- Original Message -----
From: "Chris Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 7:25 AM
Subject: Re: [PHP] Get info to a perl script and then continue without going
to that perl script.
>
>
> --
>
> Chris Lee
> [EMAIL PROTECTED]
>
>
>
> ""Brandon Orther"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I have a script that takes information and sends it to a cgi script using
> the header("location:
> http://www.domain.com/script.cgi?var1=VAR1&var2=VAR2"). Is there a way
for
> my script to send info to a cgi script but then keep the person connected
to
> the php script and not get the results of the cgi script?
>
> Thank you,
>
> --------------------------------------------
> Brandon Orther
> WebIntellects Design/Development Manager
> [EMAIL PROTECTED]
> 800-994-6364
> www.webintellects.com
> --------------------------------------------
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]