I need to convert any file to PDF Preview if i click the document link in table Table Image link
This code only for image to pdf convert. If you have ImageMagick installed and exec
permissions,
exec("convert foo.jpeg foo.pdf");
Below link for convert Word doc, docx and Excel xls, xlsx to PDF with PHP
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.