Well I tried finding this information all over and all I could find were people trying to edit Word docs with php. I, rather, am trying to just load them into a variable to search through them.

The server is Linux and not windows so we will not have the application on the serv.

thanks in advance
-Brad

Recommended Answers

All 2 Replies

Microsoft Word Documents are nothing but text underneath a ton of formatting. Just use fopen() or fread() to put it in a variable, then search through it.

Ya I actually tried that and I have a test word doc with about five words. When opened it showed about 1000 characters. I was hoping there was a way to get all the formatting removed

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.