Colossal Mind Language Detector detects a user's preferred language. It parses the HTTP Accept-Language header and determines the most suitable language for the user from a list of supported languages. The detected language can fallback to a language associated with the user's country in case the Accept-Language header is not sent by the browser. The detected language can be stored in a cookie to avoid needing to detect the language again in subsequent requests.
phpGrid provides professional-looking Ajax-enabled grid-based editing, create, read, update, and delete (CRUD) operations for Web developers in as little as two lines of code. It features cross-browser inline editing, support for all HTML form controls, integrated search toolbar, a master detail datagrid, image display, MS Excel and HTML data export, permission control, a theme roller, built-in record sorting by any column, support for major databases including MySQL, SQL Server, and Oracle, support for large database record sets, and WYSIWYG and Ajax file upload.
TbsZip is a PHP class that enables you to read and write Zip archives. The class doesn't require PHP extensions or temporary files. TbsZip can read, add, delete, and modify files stored in an archive. It can even start with an empty archive. The original archive is not modified. The new archive can be saved in the server as a new file, or provided directly as an HTTP download, or even as a binary string. If the Zlib extension is activated in PHP, then TbsZip can automatically compress and uncompress files in the archive.
Multi-OTP is a PHP class that can be used to authenticate and manage OTP user tokens for strong two-factor authentication. It can create, update, and delete tokens to authenticate users with one time passwords (OTP). The users' data are stored in files. The class can also check the user token using several algorithms: Mobile OTP (MOTP), OATH/HOTP (RFC 4226), and OATH/TOTP HOTP Time Based (RFC 4226 extension). It works with compatible software tokens (iPhone, Android, PalmOS, Nokia, and other Java J2ME capable phones) and hardware tokens (such as Feitian, ZyXEL, Authenex, or Seamoon). The multiotp command line utility is also provided, both in "compiled" form (for Windows) and in source code (for Linux or educational purpose). The multiotp command line can be combined with FreeRADIUS (under Linux) or the free TekRADIUS LT (under Windows) in order to have a powerful radius strong authentication server.
Multi-byte Keyword Generator extracts meta keywords from multi-byte text. It is an enhanced version of the "Automatic Keyword Generator" class originally written by Ver Pangonilo. This version provides better word segmentation, the ability to handle multi-byte strings, and support for text in multiple languages.
Table Maintenance allows you to add, update, and delete MySQL table records without programming. It provides forms with general validations and is useful for master maintenance of setup and parameter tables. All updates and deletions are automatically logged in an audit trail. Forms and record lists are automatically generated with navigation, and both can be customised extensively. Default form validation is performed for add and update mode. Foreign keys, if declared, are used for cross table validations. A method is provided to define explicit foreign keys if database level keys are not defined. Additional specific validations can be included.
RainCaptcha is a CAPTCHA class that does not require any image processing extensions (GD, ImageMagick, etc). CAPTCHA was developed to be readable by humans and resistant to OCR software. It generates black-and-white images with 5 distorted letters on them and noise. Its checking algorithm is case-insensitive.
webtools.class is a PHP class of useful functions for websites, including connecting to MySQL (with error reporting), IP-to-location information, creating salted MD5 passwords and validating MD5 passwords, shortening URLs with the Bitly API, email validation, and sanitizing user input.