Selmi Mourad wrote:
Hello,
I like to know wheter it is possible with php to do the following
taskes:
- read a file (.txt, .doc, .pdf, ...) word by word to chek if a word
or a sentencs exists...
- chek the form of presentation of a word i.e. chek if the word is
bold, in which size, is it centered or aligned to left,...
thank you for your help
Hi,
You can probably easily search a plaintextfile, coding it yourself.
But if you enter the (evil) domain of propietary software, like doc, you
need some code (in a com or something) to help you access the file.
Or a friendly guy who backengeneered the stuff.
Have a look a .doc in a plaintext editor and see how that looks...
And then there is a newer Word-version.
Things start over again.
Anyway, I'll stop ranting.
Have a look here:
http://nl2.php.net/manual/en/ref.com.php
You will find some pdf-api at least.
Be sure to read the notes too.
They contain a few examples on M$-based systems with COM.
Good luck
Regards,
Erwin Moller