Text to HTML converter

Category: PHP - Editors

Simple function to convert a text into formatted HTML in PHP. The function implements some text cleanups (double space removal) and accepts some HTML in the text, like links (a href), lists (ul, ol), blockquotes and tables.This makes it perfect for use inside custom-made blogging engines and CMSs. There's also an implementation of case-insensitive search/replace for php < 5. Date: 24 March, 2012


Html Converter - Text Converter - Php Snippets - Html - Text - Converter

Homepage: http://snippets.dzone.com

Developer: snippets.dzone.com

License: Freeware

Operating System: Windows, Linux

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

The "HTML-to-RTF DLL" and "HTML-to-RTF Pro DLL" components can convert HTML and ASP files into good-looking RTF with tables or transform tables to text.

developer Developer: sautinsoft.com
license License: Freeware
operating systems Operating System: All


HTMLDOC converts Hyper-Text Markup Language ("HTML") input files into indexed HTML, Adobe&amp;reg; PostScript&amp;reg;, or Adobe Portable Document Format ("PDF") files.

developer Developer: htmldoc.org
license License: Freeware
operating systems Operating System: All


Xlhtml is a program that takes a PowerPoint/Excel file as input and converts it to html.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


The component converts RTF and TXT files into plain HTML4.

developer Developer: sautinsoft.com
license License: Freeware
operating systems Operating System: All


UseOffice.

developer Developer: sautinsoft.com
license License: Freeware
operating systems Operating System: All


dompdf is an HTML to PDF converter.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


This is a complete program that reads a html document and converts it to plain ASCII text.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This Snippet inserts the code reference to 2 stylesheets for your page.

developer Developer: dwfaq.com
license License: Freeware
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


Handy technique if you want to use more complex comparisons other than == in a switch statement.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: Windows, Linux