Page 1 of 1

Converting doc to html in php

Posted: Tue Oct 07, 2008 7:59 am
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.

Re: Converting doc to html in php

Posted: Tue Oct 07, 2008 10:29 pm
by firepfly
How can i convert doc to html in php on linux
Is it possible?