I have a perl program I wrote that pulls data from a database and runs a bunch of programs via perl's backtick operator. It runs correctly if I su to the www user .. However, when i try to run it from php's backtick operator
$output = /home/bounce/testsend.pl;
echo "<pre>$output</pre><br>";
I get the output from the program printed, but it doesn't execute correctly. It's supposed to send emails, and while it does when run from the commandline, it doesn't when run in php's backticks. I made every path absolute in testsend.pl in case it was a problem of a program not being in the path.
Thanks in advance for any help
Philip