Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
<?php flush(); echo "This is a test<br><Br>"; $software_path ="C:\\SWFTools\pdf2swf.exe" ; $pdf_path ="D:\\Book\DMC\php\Test\PDF\\1.pdf" ; $argument = "-o"; $swf_output ="D:\Book\DMC\php\Test\SWF\\1.swf" ; $cmd =" $software_path $pdf_path $argument $swf_output"; echo $cmd; $WshShell = new COM("WScript.Shell") or die("Could not start WScript"); $oExec = $WshShell->Run("cmd /C $cmd ", 0, false); ?>
the code will run without the error, but of course the command is not exicuted.
//$oExec = $WshShell->Run("cmd /C $cmd ", 0, false);
Join the community of 500,000 technology professionals and ask your questions.