GeckoNZ
IS-IT--Management
- Jul 23, 2001
- 31
I've tried reading an MS Word document fread(), replacing text e.g. <<Placeholder>> with a str_replace() and writing it back. A bit like a poor man's mailmerge. But the document isn't readable after the operation. I've tried the same thing with a text editor and replacing just 1 character has the same effect.
I was probably a bit optimistic that it might be that simple. I assume I upset a CRC check or the like.
Any suggestions.
I was probably a bit optimistic that it might be that simple. I assume I upset a CRC check or the like.
Any suggestions.