mm, bit basic maybe but its got me stumped
trying to call a Perl script that should return some text by using:
$output = shell_exec("./cgi/function 98");
echo "output form shell_exec ";
echo $output;
where 98 is a variable. Basically nothing gets written to $output but running the function from a terminal does produce some output. I've tried moving the page calling the function in to the cgi bin and setting shell_exec("function 98"); but that doesnt work either. Is my addressing of the funciton wrong?
TIA