I tested this code on my FreeBSD unix box but I can't seem to get exec to work? Do I have to set up permissions or someing in my php.ini file. This is driving me up the wall.
exec("which convert", $my_convert_path);
echo "<br>test " . $my_convert_path[0];
echo "<br>test " . $my_convert_path[1];
echo "<br>test " . $my_convert_path;
My results:
test
test
test 1
Thanks in advance.
My safe mode is OFF. Is there something I'm missing or does this look right?