I am now working with a project that need file handling and reading the contents inside the same.
What I need is, get the number of words from the file. For text and rtf I feel no problem. But the problem exists for .doc and .pdf's.
Does anyone know any piece of code or any library function in PHP that is able to read the contents inside the .doc and pdf . Or any function that counts the words inside the doc and pdf.
This will be very helpful for me
Thanks in advance.