Answer the question
In order to leave comments, you need to log in
How to determine the number of pages in a document using PHP?
Hello dear friends. There is a task to determine the number of pages in documents such as doc, docx, pdf, odt. What solutions implemented in PHP do you know?
Answer the question
In order to leave comments, you need to log in
There is an option for PDF. FPDF library using FPDF-import. There you can count like.
Thanks a lot for the replies. I also agree with the thoughts you have stated. I am familiar with FPDF and know how to work with PDF. I thought, what if there is a library that I don’t know about and which has methods for working with all types of documents.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question