Convert PDF to DOC or DOCX format in PHP
Contents
[
Hide
]
Aspose.PDF - Convert PDF to DOC or DOCX
To convert PDF document to DOC or DOCX format using Aspose.PDF Java for PHP, simply invoke PdfToDoc module.
PHP Code
# Open the target document
$pdf = new Document($dataDir . 'input1.pdf');
# Save the concatenated output file (the target document)
$pdf->save($dataDir . "output.doc");
print "Document has been converted successfully";
Download Running Code
Download Convert PDF to DOC or DOCX (Aspose.PDF) from any of the below mentioned social coding sites: