This works fine. I have written the following script to allow users to upload PDFs and have the system automatically convert the file for them:
Code: Select all
$Xstring = "convert \"". $PDFfile ."\" -colorspace RGB -geometry 1024 \"output.png\"";
$tmp = exec($Xstring, $output);
this is the only command that is not working. I have set all of the permissions on all of the files and folders involved to allow the IUSR for this domain to
access them, but it still does nothing. The owrst part is that it returns no error, so I can't tell what's wrong. This is driving me crazy, any help would be GREATLY appreciated. Also, the full drive letter paths are present in the actual script, I excluded them here. If I run this command exactly as it is (without the escape characters of course) in command line, it works fine.