Re: Get info to a perl script and then continue without going to that perl script.
| From: | Chris Lee | Date: | Mon, 26 Mar 2001 15:25:11 +0000 |
| Subject: | Re: Get info to a perl script and then continue without going to that perl script. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45624@lists.php.net to get a copy of this message | ||
you want to just execute the perl script? use
http://php.net/manual/en/function.exec.php
$return = exec("/pathtocgi/script.cgi VAR1 VAR2 &");
if you want the data returned, its in $return.
--
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