$word = new COM("word.application") or die ("Could not initialise MS Word object.");

// Extract content.
$content = (string) $word->ActiveDocument->Content;

echo $content;


$word = null;

Please Help

Recommended Answers

All 4 Replies

Word is already installed

Problem Still Exist

Be a part of the DaniWeb community

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