M
M
Marat Dallin2014-01-23 21:57:22
PHP
Marat Dallin, 2014-01-23 21:57:22

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

2 answer(s)
R
redc0de, 2014-01-23
@amr-dallin

There is an option for PDF. FPDF library using FPDF-import. There you can count like.

M
Marat Dallin, 2014-01-24
@amr-dallin

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 question

Ask a Question

731 491 924 answers to any question