one of my friend asked me if I can make a program for him in PHP (since I always keep boasting about PHP) which can read microsoft word files (in this case word 97 format) and check for few things in content (some conditions about double space after full stop and so) and return information regarding.
that is, there is a file called page57.doc, now he want to read that file in PHP and run few conditions like to check if there are double spaces after each fullstop. If anywhere in that it occurs that there is single space or no space after a full stop then it should return an error stating "there is a condition 1 error at line no. 10" .... and so on for each error.
now checking and returning is not a big deal if can read the content of word file as it is shown in MSword.
Now what I would like to know from you all is,
Can I read or fetch text from MS word file using PHP?
and
what are the other scopes I can have once I could read the MS word file ?
I have been opening my big mouth so much about PHP, now it's not only the matter of my reputation, but also of PHPs....