I get the error:
Warning:
exec()has been disabled for security reasons
For the following code, any ideas of how I could workaround this without using exec()?
$file = 'test.jpg';
$cmd = 'curl -F userfile=$file ' .
'-F outputencoding="utf-8" ' .
'-F outputformat="txt" ' .
'http://maggie.ocrgrid.org/cgi-bin/weocr/ocr_scene.cgi >result.txt';
exec($cmd, $result);
echo $result;
execis disabled, so iscurl, are you on a shared hosting website?