"Kevin" <Kevin@xxxxxxxxxxxxxxxxx> ???????/???????? ? ???????? ?????????: news:E4.D0.58090.8FA60554@xxxxxxxxxxxxxxx > Hi, > > We are trying to create a script which (the same as google search and > gmail) allows for PDF's, Doc's, Excel etc to be converted to HTML > documents dynamically, this is just in case users want to view documents > but don't have the necessary software. The HTML needs to keep as much of > the styling as possible. > > Does anyone know how google have done this? or does anyone know any PHP > equivalents, we are using the Windows IIS server. You may try to use COM to convert MS Office files to HTML, something like $doc = new COM('somewordfile.doc'); $doc->saveAs('somewordfile.html', 10); $doc->close(); -- Sincerely, Rosty Kerei -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php