Archive for October, 2008
An advanced AJAX Star Rating Script
This is a great star rating system from Nomadic Functions. Compared to other traditional rating scripts, this one has a 1,680% increase in accuracy and 84 hot spots (84px wide), instead of only 5.
Read moreHow to create an advanced (bad, naughty) words filter
This is a PHP Class useful if you need to filter (bad, naughty) words from a string (text), whether is a simple string or one containing HTML tags.
Read moreEquivalent of PHP’s array_combine() function
This is a JavaScript function that works like array_combine() in PHP.
Read moreHow to add transparency to an image using GD
Do you want to make your images transparent using GD? Check this PHP Class.
Read moreDetecting Google Chrome Browser
This is a short function useful to detect if the visitor uses Chrome Browser.
Read moreConvert e-mail addresses from a string into clickable links
This is a snippet that finds e-mail addresses from a string using a regexp and converts them into clickable links.
Read moreSort files from directory & order them by filemtime()
This is a function that selects files from a directory and orders them by the last time they were changed, in ascending or descending order. The script also calculates how much time passed since the file
Read moreMatch non-alphanumeric characters from a string
This is a snippet that matches non-alphanumeric characters from a string (text).
Read moreExtract alphanumeric sequences from a string
This short snippet is useful if you need to extract alphanumeric sequences (characters) from a string.
Read moreExtract alphabetical sequences from a string
This function extracts alphabetical sequences from a string.
Read moreHow to extract numbers from a string (text)
This is a short function that extracts numbers from a string.
Read moreEquivalent of trim() function for arrays
This function strips the null element values from the beginning and ending of an array.
Read moreRandomize text letters while keeping the words readable
In 29 May 1999, Graham Rawlinson wrote a letter to New Scientist, commenting about a research made by 2 scientists: Kourosh Saberi and David Perrott. Here’s an excerpt from that letter:
You report that reversing 50-millisecond segments of recorded sound does not greatly affect listeners’ ability to understand speech (In Brief, 1 May, p 27). This [...]
How to create a Tag Cloud
This is a short tutorial that will give you an idea of how to create a Tag Cloud and implemented it the pages of your website.
Read more