Code: Select all
andCode: Select all
tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I'm writing a script that needs to call some perl scripts in the same directory as the running PHP script. It looks something like this:Code: Select all
echo "<p id=\"output\">";
$handle = popen( "perl command.pl $args", "r" );
while( !feof($handle) )
{
echo nl2br(fgets($handle));
}
pclose($handle);
echo "</p>";Any clues? I even get the same problem with passthru().
Jcart | Please use
Code: Select all
andCode: Select all
tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]