I need a free scipt that can read the text from a .doc file without COM
I have found this function but it's not working on every doc.
sometimes $thisline contains one question marks(�) after each character.
I think it has something to do with the charset.I have tried to convert the string to utf-8 or other formats but it doesnt work. pls help
function parseWord($userDoc) {
$fileHandle = fopen($userDoc, "r");
$line = @fread($fileHandle, filesize($userDoc));
Bookmarks