Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $startingFile = "C:\\Inetpub\\wwwroot\\mo\\pdf\\pdfs\\" . $file['name'];
- $cmd = "PDFCreator.exe /PF\"" . $startingFile . "\"" ;
- echo "<br />Running:<strong>" . $cmd . "</strong><br /><br />";
- echo exec("cmd /c echo Hello World!") . "<br />";
- echo system("cmd /c " . $cmd); //don't <-- worx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement