I am writing a php application which processes information from a database, then calls another php script to graph it. All output is displayed in a web page. I can't get any output from the called application to display using passthru(), exec() or popen().
I have tried specifying a full path as well as filename only. Both applications work fine by themselves.
i.e.
first.php
<?php
echo "hi";
echo "<br>";
passthru('second.php');
?>
second.php
<?php
echo "here I am";
?>
executing first.php displays "hi" only.
executing second.php displays "here I am."
Thanks for any suggestions.