superGlobals is a PHP library that transparently injects into a superglobal or global variable while keeping all functionality of a regular array, but extending it with type casting and URI parsing into that array. It can use memcached for additional performance and can interact with custom DB abstractions (mostly PEAR). It may filter, cast, or validate variables as: boolean, integer, float, string, array, object, IPv4 address, IPv6 address, regular expression, URL, URL encoded string, HTML escaped string, or SQL escaped string. It is possible to pass a function name callback as a casting or validation method. Also, it is possible to pass multiple casting methods for each variable, which is useful for array processing.
Kohana is a PHP 5 framework that uses the Model View Controller architectural pattern. It aims to be secure, lightweight, and easy to use. Although it reuses many common design patterns and concepts, there are some things that make Kohana stand out. It is community driven, uses strict PHP 5 OOP to provide visibility protection, automatic class loading, overloading, interfaces, abstracts, and singletons, and is extremely lightweight. Kohana has no dependencies on PECL extensions or PEAR libraries. Large, monolithic libraries are avoided in favor of optimized solutions.
Wired-php is an XML-RPC client for interfacing with WuBook WebServices. Wired-php allows you to export booking online steps for tourism properties and it can act as a proxy gateway to update contingents on IDS (Internet Distributon System) via the Channel Manager WooDoo. The intended audience is tourism sites and property management system developers. It should be used to implement online booking for tourism properties or to manage room contingents on the Internet.
Secure PHP HTML parser and filter is a PHP package that can be used to parse and filter out insecure HTML tags and CSS styles. It comes with a general purpose markup parser class that can parse any type of markup documents similar to HTML, XML, and DTD files. It also includes several other classes that can be chained together to retrieve the document token elements returned by the main markup parser class and filter the document elements in a useful way. The markup validator filter class validates a document against a DTD, eventually removing invalid tags and attributes. The safe HTML filter class uses several white lists to process HTML tags and data returned by the markup validator class and discards potentially harmful HTML tags and CSS that could be used to perform cross-site scripting (XSS) or cross-site request forgery (CSRF) security attacks. The filtered HTML tokens can be reassembled to return a well-formed and secure HTML document. The HTML links filter class can extract the links contained in an HTML document. The DTD parser and CSS parser are utility classes used by the other classes.
Simple Login Class is a PHP class that can be used to prevent unauthorized access of Web pages. A simple user management system can be implemented with this class very quickly. It does not use databases or database queries to store the user details. Instead of a database, it uses a text file to store the details. An access encoding technique (Base64), two hashing techniques (SHA1 and MD5), an a built-in PHP function (StrRev) are used here to store passwords more securely in the text file. Simple Login Class can be used in any PHP page just by embedding a snippet at the top of a the page to be protected. Any number of user logins can be stored more securely in a single file. The sessions are handled more safely in this system than some other login systems. The user registration system applied here is simplified. In certain cases, no configuration is needed to use this class.