Try to remove all strings starting with "<" and ending with ">". Be sure 
not to remove "<A href ... ></A>"'s. Also you need to format line 
endings via "\n" or "<BR>".

it might seem a little bit hard, but any other solution won't work 
rather than this.

Tim Haynes wrote:

>Does anybody know of a class or a solution to converting an HTML page to a
>text only page via PHP, but leaving in href links in and a certain degree of
>formatting.
>
>Cheers,
>
>Tim
>
>
>

-- 
        Vehbi Sinan Tunalioglu

*       email : [EMAIL PROTECTED]                *
*       email : [EMAIL PROTECTED]             *
*       email : [EMAIL PROTECTED]       *




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to