Re: passing variables from PHP to Perl script

From: Date: Sun, 19 Aug 2001 02:12:15 +0000
Subject: Re: passing variables from PHP to Perl script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63336@lists.php.net to get a copy of this message
> I'm trying to integrate an Internet Telephony service for a client. I have a > number of variables I need to dump into the clients database and then to > pass to the Internet Telephony service via a Perl script they have provided > for me that will reside on the client's server. Can I somehow pass them > "behind the scenes" or should I use a redirect. There is info I need to keep > away from the end user, mainly the phone number. exec("/path/to/perl/script '$phone_number' '$more_data' '$whatever'", $results, $errorcode); while (list(,$line) = each($results)){ echo $line, "<BR>\n"; } if ($errorcode){ echo "OS Error Code: $errorcode. Usually path/permissions. man errno.<BR>\n"); } Or is the Perl script on a *DIFFERENT* server from your PHP script?... Then you'll need to use "cURL" or fopen or something to talk to that server. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#63336) next »