Re: Get info to a perl script and then continue without going to that perl script.
| From: | Matt Friedman | Date: | Mon, 26 Mar 2001 20:06:21 +0000 |
| Subject: | Re: Get info to a perl script and then continue without going to that perl script. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45636@lists.php.net to get a copy of this message | ||
> 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" <lee@mediawaveonline.com>
To: <php-general@lists.php.net>
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
> lee@mediawaveonline.com
>
>
>
> ""Brandon Orther"" <orther@webintellects.com> wrote in message
news:OMEBIHJGKOODOFLBFDJFEECLCAAA.orther@webintellects.com...
> 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
> brandon@webintellects.com
> 800-994-6364
> www.webintellects.com
> --------------------------------------------
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>