Tutorials
How to convert PDF to Word in PHP
You can run PDFConvert command-line interface from many programming languages such as C++, C#, ASP, JAVA or Delphi etc.
You need to install PHP for IIS or Apache on Windows. Please make sure that PHP is not running in safe mode. Function Shell_exec is disabled when PHP is running in safe mode.
The PHP source code below shows how to convert a PDF file ("c:\pdf\demo.pdf") to Word file ("c:\word\demo.docx").
PHP source code sample:
<?php ;Replace PDFConvert directory, source PDF file name and output directory $blah = shell_exec("\"C:\\Program Files (x86)\\PDFConvert\\pdfconvert.exe\" /cs 10000 /i \"c:\\pdf\\demo.pdf\" /o \"c:\\word\" /pwo 2"); ?>
Check more information of PDFConvert command-line interface.