I would assume so, I am using a windows based server
I use the following, but remember reading a word doc is much slower than reading a text file -
<?php
$doc = "http://domain.com/sample.doc";
$word=new COM("Word.Application") or die("Cannot start word for you");
$word->visible = 0;
$word->Documents->Open($doc);
$nr = $word->ActiveDocument->BuiltInDocumentProperties->Count;
$title = $word->ActiveDocument->BuiltInDocumentProperties["Title"];
$author = $word->ActiveDocument->BuiltInDocumentProperties["Author"];
$subject = $word->ActiveDocument->BuiltInDocumentProperties["Subject"];
$bytes = $word->ActiveDocument->BuiltInDocumentProperties["Number of bytes"];
$age = $word->ActiveDocument->BuiltInDocumentProperties["Last save time"];
$pages = $word->ActiveDocument->BuiltInDocumentProperties["Number of pages"];
$nr = $word->ActiveDocument->Paragraphs->Count; # Loop through the word documents text
for($i = 1; $i <= $nr; $i++){
$text .= $word->ActiveDocument->Paragraphs[$i];
}
echo "Count - ".$nr."<br><br>";
echo "Title - ".$title."<br><br>";
echo "Author - ".$author."<br><br>";
echo "Subject - ".$subject."<br><br>";
echo "Size - ".$bytes."<br><br>";
echo "Age - ".$age."<br><br>";
echo "Pages - ".$pages."<br><br>";
echo "Text -".$text."\n";
$word->Documents[1]->Close(false); ## Close word and disable Prompt to Save
$word->Quit();
?>
MSDN has a list of all the objects you can access in Microsoft programmes like word, excel etc. the link is -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbawd10/html/wohowDisplayBuiltInDialogs.asp
I hope this helps. It is really hard to find useful information in COM functions.