none for now
This will convert Bulletin Board Code into readable HTML, good for comments, forums, etc.
This class will convert English nouns from singular to plural.
_viewAggregate() function aggregates an array of IP addresses or networks according to supplied prefixes and their mask lengths. ip2long6() and long2ip6() function are taken from comments of online php manual and given there for ease of use. See http://php.net/ip2long
These two functions will convert an RGB color to a hexadecimal, or convert a hexadecimal to RGB.
This function returns a list of unique random items in an array.
This shows how to load a specific file into the page by clicking on a link.
This will test for whether a word is a stopword. A.K.A. a word that is commonly found in sentences.
A very simple rendered for PHP based templates. Not a template language, just a simple wrapper that handles undefined template variables, helper functions, and turning a phtml file into a string. If you're using some kind of framework, you probably shouldn't be using this. I threw this together to be pasted (yes, pasted, if you have composer up and running, pull in a real template library) into exsisting legacy projects and turn classic HTML with embedded PHP into a bit more up-to-date PHP rendered templates. Source: [url=https://github.com/tjlytle/Render]Github.com[/url]
Class example to get your balance, and to send an sms using the Clickatell API. No validation happens on the data you submit. This will need to be handled by you. (Maybe I'll add extra code for that later)
Displays how long ago something happened, such as when something was posted. "1 day ago", "2 months ago", etc.
This brilliant code snippet I have collected on Stackoverflow.com is really helpful.
I am currently working on my own content management system and decided I would release a little pre-installation checklist script that makes sure you have all the required functions enabled on your hosting environment and shows you what you currently have and what is required in the end. If you have all the requirements that the script requires, it shows a little button at the bottom to continue the installation, if not, an error. You can easily change the file you want to check writing to by editing $file It comes with some styling already and in a nice table. Enjoy and let me know how it is.
Do you display data that comes from a database? make it easy to read by making the backgrounds alternating colors.
This code will help you to learn how we can convert an image into a base64 string
Want to force a user to download a file instead of viewing it in his/her browser? Use this snippet to do just that.
Parse a date string in the format described in RFC822 (for exampe used in RSS feeds) and get the corresponding unix timestamp.
Stops PHP from sending a fresh version of an image if the browser already has it in its cache.
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].