Re: making php and perl talk to each other...

From: Date: Tue, 19 Nov 2002 17:14:18 +0000
Subject: Re: making php and perl talk to each other...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-125121@lists.php.net to get a copy of this message
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 www.php.net/fopen ---John Holmes... ----- Original Message ----- From: "Kelly Meeks" <info@rightangleinc.com> To: <php-general@lists.php.net> 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 script? Kelly

« previous php.general (#125121) next »