Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged text



« Prev 1 2
Function for obfuscate Text in html pages. good for making screenshot and mind data protection if needed. changes Text into many small divs with different bgcolor.
0 33109 posted 6 years ago by PietKeizer
This is a simple PHP class that can be used to produce nicely formatted reports from unorganized data.
0 2877 posted 10 years ago by COBOLdinosaur
Use PHP's DOM parser to convert a table into plain text (including links with images)
0 3801 posted 11 years ago by nigelnquande
This function takes HTML input and converts it to plain text. It needs improvement so that it converts multiple blank lines to a single blank line and converts an <a ... > link to the markup equivalent (same for images). It should be rewritten...
0 3071 posted 11 years ago by nigelnquande
I created this code for practice, and I looking for better and clear solution for the last instance where I can write or delete the data, but after I want to get back the content as array or the key as string. I want to use this write-read back with...
0 2927 posted 12 years ago by gitarfogas
The following code sample shows how developers can replace multiple texts in a single API call in a PDF file using Aspose.Pdf for Cloud API in their applications. Developers can use Aspose REST API with any language: .NET, Java, PHP, Ruby, Rails, Pyt...
0 3949 posted 12 years ago by johansonkatherine
Get the text in between more text in a string. Accepts $content,$start,$end & $is_string as parameters.
1 1825 posted 13 years ago by o0110o
Takes your table name and key=>value array of values and returns the text for inserting into a MySQL database. Automatically surrounds strings with single quotes.
1 1941 posted 13 years ago by lemcoe9
This is a function that receives a string as an argument (along with other config optional arguments) and locates all keywords (words that appear most) from that string, returning the keywords as an array or as a string separated by commas. The funct...
2 5736 posted 14 years ago by TimoZachi
I've yet to work on a WordPress site where at least once post wasn't copied from Microsoft Word, producing a mess of inline tags and awful markup. This helps prevent that, just a little.
0 1369 posted 14 years ago by travishines
0 2190 posted 14 years ago by rwunsch
0 1651 posted 14 years ago by kidmizere
Writes to a text file, test.txt, instead of email for the purposes of testing.
0 1543 posted 14 years ago by hotdiggity
0 1839 posted 14 years ago by willem
0 1475 posted 15 years ago by psteinweber
0 1487 posted 15 years ago by psteinweber
Create excerpts from text block from your wordpress content and add links page / post from the guid.
0 1784 posted 15 years ago by prwhitehead
0 1582 posted 15 years ago by pootify
To implemented this code is easy, all need to do write down PHP FeedBurner Counter below in our themes files, example in sidebar.php, header.php or footer.php. Let’s get started, Please note you need replace YOUR FEED ADDRESS with your Feeds,
0 1441 posted 15 years ago by alexeihidalgo
Transforms string to it's possessive form and return it's original case form.
0 1226 posted 15 years ago by Arvi
This help you cutting text without cut the last word. Any feedback appreciated!
0 1525 posted 15 years ago by alesma
This script parses the entered text and it gets all URLs from the text. It will then shorten those URLs and replace the long URLs with shortened ones in the text. If you need only the Shortener Services script, take a look at this snippet <a href="h...
1 2024 posted 15 years ago by stamba
0 1511 posted 15 years ago by G470
0 1708 posted 15 years ago by newsok
This is a simple 'text to array for output' script that I've used a few times for my clients. Hope you like!
0 1852 posted 15 years ago by chicagowebmanagement
Turn a html source into a full text document by removing all html tags and other unneeded code.
0 1741 posted 15 years ago by math89
0 1586 posted 15 years ago by metoikos
« Prev 1 2