Re: 'View as HTML' Conversions

From: Date: Tue, 07 Nov 2006 11:58:49 +0000
Subject: Re: 'View as HTML' Conversions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-244309@lists.php.net to get a copy of this message
"Kevin" <Kevin@harveywalsh.co.uk> ???????/???????? ? ???????? ?????????: news:E4.D0.58090.8FA60554@pb1.pair.com... > 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

« previous php.general (#244309) next »