Page 1 of 1

Interacting with .DOC files and/or .PDF files

Posted: Sat Jul 22, 2006 11:32 pm
by nlaginha
Hi friends, I´m new here and I need your help urgently :(

I would like to get the number of pages of a .DOC file and/or .PDF file. The situation is... A user sends a text file to server (upload) and the system reply the number of pages of that file. Maybe this is simple to resolv, but I can´t find how to do this as I´m begining in PHP programming.

Does anybody know how can I do this?

I´ve tried COM...

thanks a lot

Posted: Mon Jul 24, 2006 7:02 pm
by wtf
To get pdf file details you can use the following http://linuxcommand.org/man_pages/pdfinfo1.html