Converting doc to html in php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pritish
Forum Newbie
Posts: 1
Joined: Tue Oct 07, 2008 7:52 am

Converting doc to html in php

Post by pritish »

hi all

I am using this script but it showing no o/p
.
<?php
$word=new COM("word.application") or die("Cannot start word for you");
print "Loaded word version ($word->Version)\n";
$word->visible =1;
$word->Documents->Add();
$word->Selection->Typetext("Dit is een test");
$word->Documents[1]->SaveAs("burb ofzo.doc");
$word->Quit();
?>
I want to convert doc file to HTML.
If anybody knows its solution.Pls refer me.

Thanks in advance.
firepfly
Forum Newbie
Posts: 1
Joined: Tue Oct 07, 2008 10:27 pm

Re: Converting doc to html in php

Post by firepfly »

How can i convert doc to html in php on linux
Is it possible?
Post Reply