Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged text



« Prev 1 2
  1. FAV function to obfuscate web text into random design

    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.
    PHP data text
    posted 3 months ago by PietKeizer
  2. FAV Formatted Text Output using str_pad()

    This is a simple PHP class that can be used to produce nicely formatted reports from unorganized data.
    PHP php text
    posted 4 years ago by COBOLdinosaur
  3. FAV HTML Table to plain text

    Use PHP's DOM parser to convert a table into plain text (including links with images)
    PHP DOM html php table text
    posted 5 years ago by nigelnquande
  4. FAV HTML to Plain Text

    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...
    PHP convert html text
    posted 5 years ago by nigelnquande
  5. FAV Read and write data to textfile

    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...
    PHP array class text
    posted 5 years ago by gitarfogas
  6. FAV PHP Code Sample to Replace Multiple Text in PDF File Using Cloud API

    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...
    PHP api c# php replace text
    posted 5 years ago by johansonkatherine
  7. FAV Get the text in between more text in a string.

    Get the text in between more text in a string. Accepts $content,$start,$end & $is_string as parameters.
    PHP php text saved by 2 people
    posted 7 years ago by o0110o
  8. FAV MySQL INSERT Query Generator w/ Strings

    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.
    PHP mysql query text saved by 3 people
    posted 7 years ago by lemcoe9
  9. FAV PHP function to extract keywords from a string of text

    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...
    PHP function text saved by 4 people
    posted 8 years ago by TimoZachi
  10. FAV Anti-Word Alert

    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.
    PHP text wordpress
    posted 8 years ago by travishines
  11. FAV auto link urls in text / string

    PHP link text url
    posted 8 years ago by rwunsch
  12. FAV SMS TEXT FROM PHP

    PHP text
    posted 8 years ago by kidmizere
  13. FAV Test PayPal ipn to file

    Writes to a text file, test.txt, instead of email for the purposes of testing.
    PHP file text
    posted 8 years ago by hotdiggity
  14. FAV Showing Posts with custom excerpt length and custom read more text in WordPress

    PHP text wordpress
    posted 8 years ago by deepakrajpal
  15. FAV Wordpress Text Widget with Class

    PHP class css text wordpress
    posted 8 years ago by willem
  16. FAV Thesis: custom comment text

    PHP text wordpress
    posted 8 years ago by psteinweber
  17. FAV Thesis: change previous next text

    PHP button text wordpress
    posted 8 years ago by psteinweber
  18. FAV Wordpress: Text Excerpts with PHP

    Create excerpts from text block from your wordpress content and add links page / post from the guid.
    PHP php text wordpress
    posted 8 years ago by prwhitehead
  19. FAV Truncate Text at Word Break

    PHP php text
    posted 8 years ago by pootify
  20. FAV RSS Readers in sidebar and Twitter.

    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,
    PHP text
    posted 8 years ago by alexeihidalgo
  21. FAV Text - to_possessive

    Transforms string to it's possessive form and return it's original case form.
    PHP text
    posted 8 years ago by Arvi
  22. FAV Shorten text without cutting words

    This help you cutting text without cut the last word. Any feedback appreciated!
    PHP php text
    posted 9 years ago by alesma
  23. FAV Find URLs In a Text and Shorten Them

    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...
    PHP text url saved by 2 people
    posted 9 years ago by stamba
  24. FAV write to text file

    PHP php text
    posted 9 years ago by G470
  25. FAV Enlight a word from text

    PHP search text
    posted 9 years ago by newsok
  26. FAV Explode Text File of URLS into HTML links

    This is a simple 'text to array for output' script that I've used a few times for my clients. Hope you like!
    PHP array file php text
    posted 9 years ago by chicagowebmanagement
  27. FAV Convert html source to full text

    Turn a html source into a full text document by removing all html tags and other unneeded code.
    PHP html text
    posted 9 years ago by math89
  28. FAV Corta los primeros n caracteres de un texto, pero busca el espacio para no cortar una palabra

    PHP text
    posted 9 years ago by mfigge
  29. FAV php text to link

    PHP link php regex text
    posted 9 years ago by metoikos
  30. FAV PHP: Remove Everything But Letters And Numbers – Reg Expressions

    PHP php text saved by 2 people
    posted 9 years ago by Wardy
« Prev 1 2