Re: how to get page count when uploading files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I really need help and after going through the help page, I don't know where
I can post my question.



When I upload a file (word or pdf), how can I know the page counts of that
file immediately?



Thank you, Jian

There's no function in the PDF library to READ the file.
And about Word documents (.doc): Word calculates the amount of pages at 'parsetime'. Word documents are just RTF files, and they
don't describe the amount of pages in the files. So it's really tricky to make a script that counts the pages in Word documents, as you would have to make an RTF parser. :/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux