I have a java file and it will generate itunes report. I want to execute this within my php script. Im using the exec() function in php:it is working properly in linux.But not in windows.Am i missing anything?Any help will be appreciated.
exec("java Autoingestion ".'USERNAME'." '".'PASSWORD'."' ".'VENDORID'." ".'REPORT_TYPE'." ".'DATE_TYPE'." ".'REPORT_SUB_TYPE'." ".'2012-05-28'."",$output,$return);
shell_execcommand ? Also let us know if you getting anything in$output?echoit before throwing it inexec, and make sure it does what you think it does.