> 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 [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
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
--
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]