If they are on the same machine and executable from the command line, then
you can use exec(), system(), backtics, etc to get the output.

If they are on another machine (or not executable) and only available
through a HTTP interface, then just use fopen to open the address and read
the output from it.

$fp = fopen("http://www.domain.com/file.php","r";);

Then use fread or fget to gather the output. Plenty of examples at

---John Holmes...

----- Original Message -----
From: "Kelly Meeks" <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 11:50 AM
Subject: [PHP] making php and perl talk to each other...

Is there any way to get a php script to grap the output from a perl script?

Can you reverse that and have a perl script grab the output from a php


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to