Need to convert miles to feet, or feet to mile or even inches? Using this function you can convert one to the other.
Want to force a user to download a file instead of viewing it in his/her browser? Use this snippet to do just that.
This function searches a large string, for a smaller string.
Using a string of text, find out how many kilobytes or bytes the string would and/or will take up in a file if it gets saved.
This will force the browser to get a new image every time.
Parse multiple feeds from different sources into separate pages using SimplePie class. A fast and efficient way to serve fresh content to your site as to provides the most up-to-date information to the readers.
The definition of Friendly URL defined and explained in simple language
This small function returns an encoded string to embed images, inline, inside your html/css code and reduce the number of calls to the server and speed up page load. You can see an [url=http://www.barattalo.it/2013/12/04/embedding-images-html-css-php/]example of usage here[/url].
This is select element generator section of my form helper.
Forces a number between two numbers, this helps avoid if lots of statements.
Takes a string of numbers and formats it into a Social Security number format. Example: formatSSN('123456789'); //returns "123-45-6789"