You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.
<?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);
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.