Re: [PHP3] Converting RTF to HTML ?

From: Date: Wed, 07 Jun 2000 08:05:38 +0000
Subject: Re: [PHP3] Converting RTF to HTML ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1183@lists.php.net to get a copy of this message
In article <8h7jrl$4kq$1@cvs.php.net>, p.martorell@ortems.fr ("Philippe MARTORELL") wrote: > Hi folks, > > I was wondering about a function converting RTF data contained in a string, > to an HTML string. > In fact, I get some RTF data from an Interbase database that is filled with > a delphi app... > Did anybody having the same problem got a solution ? You could probably do something not unlike: exec("echo $blob | /full/path/to/rtf2html", $html, $error"); while (list(,$line) = each($html)){ echo $line, "\n"; } if ($error){ echo "rtf2html failed with OSError $error. Usually paths/permisssions"; } Assumption: rtf2html exists out there somewhere. -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#1183) next »