How do I properly execute commands in the command line using php? For example I\'m using the command below in the command line to convert a docx file into a pdf file:
system("c:\\path\\to\\pdfcreator.exe /PF\"D:\\Documents\\sample.docx"");
try this.