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 [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]