i am doing a convertion script to convert word docs to HTML ..
but i got a little bit problem here, perhaps someone can help me on this ..
$word = new COM(“word.application”) or die(“Unable to instanciate Word”);
// if you want see thw World interface the value must be ‘1’ else ‘0’
$word->Visible = 1;
$docDir = getcwd();
//doc file location
$word->Documents->Open($docDir.”
//html file location ‘8’ mean HTML format
$word->Documents[1]->SaveAs($docDir.”
//closing word
$word->Quit();
//free the object from the memory
$word->Release();
$word = null;
above is my script for the convertion … it helps to convert particular word docs to HTML format … if works fine if i want to convert the entire doc to HTML but what if i only want the 2nd page inside that word doc to be converted to HTML … anyone pls?