This script generates barcode images on the fly. You can show them on a web page or save them to a file. It supports height and width modulated symbologies. You can control height, width, wide to narrow ratio, rotation and label.
A generic syntax highlighter for PHP. Simply specify the code to highlight and the language to highlight it in, and GeSHi returns the source highlighted and XHTML+CSS compliant. It is highly customizable and supports over 10 languages.
Use this handy function to sort strings based on the day of the week. A normal sort will put the values in alphabetical order but this sort will put them in the order of the days of the week: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday.
A class for getting a visitors' IP address, country name, and 2-3 letter country codes, and displaying the country's flag. It covers 243 countries. It is easy to merge into an existing webpage using only a few lines of PHP code. Currently there are four different database versions available: MySQL, PHP, CSV and XML.
This script can convert an array to a string separated by special characters and vice versa. You can save the string to a file and restore it. It can be useful if you want to store a data structure but don't want to setup a database.
Adds the ordinal suffix to the end of an interger when requested. Change 1, 2, 3 to 1st, 2nd, 3rd quickly and easily. Even allows for a superscript suffix.
This will count through the sentences in a section of text and show how many words are contained within it.
A ticket module for phpShop.
Use this handy function to quickly and easily build HTML input fields for your forms. When added to a database or loop, many uniform input fields can be built in no time. This works for button, hidden, password, reset, submit, and text type input fields.
Function to create mailto links with Spamgourmet-Addresses, that have the IP and the timestamp of the request encoded.
This function will search a string for swear words and filter them out. You can define your own list of curse words and replacements.
From an online form such as in forums and blogs, we retrieve the content of a message and interpret the text (including URL tags, bold tags and colors). Finally, we pass it through a temporary database and display the HTML result.
This class can be used to generate music scales and chords. It applies music theory to generate scales and chords by names based on interval patterns between notes. The class can generate scale and chord notes by name and type, transpose scales, transpose chords, generate all chords and scales containing certain notes and more.
A set of functions to access the del.icio.us web service API. Use this class to easily manage your posts and do some other cool stuff on del.icio.us.
This class can be used to list and manage details of cPanel hosting accounts. It can establish a secure connection to a cPanel server and enumerate, create and remove email and FTP accounts, domains, email forwarders and auto-responders, and databases, as well as change passwords, quotas, and cPanel settings.
A class for user agent string analysis. It provides information on a client's software type (browser, webcrawler, anonymizer, etc.) and which OS is being used. It is fast and standalone. Its data file and cache are automatically updated from a remote server with version checking.
This class allows you to easily add a madlibs game to your website. You can load the madlib stories via the file system or a database. The stories are chosen at random and a form will be shown to the user to fill in their own words. You can use a few CSS styles to control how things look.
A collection of 19 tips on manipulating PHP strings. Clear answers are provided with tutorial exercises on string functions including strlen, trim, substr, chop, strpos, strcmp, split and more.
A set of functions to help you manipulate RGB, HSL as well as color gradients.
Shop-Help-Module for phpShop 0.70 that displays help topics by page name, category, product, module and function. The module supports multiple languages. Several help topics in English, Spanish and German are already included.