The DNServer class can be used to implement domain name servers (DNS). It starts listening to DNS UDP port 53 to handle domain name resolution requests. The class decodes the DNS request, and invokes a configurable callback function that takes the DNS query type and the domain to resolve and returns an IP address.
gCache is a PHP class that can be used to capture and cache Web page content. It can store cached content in files of a given directory. It uses OS independent file locking to prevent corruption from simultaneous attempts to update the cache files. First, it checks whether the cache file exists and has not expired. In that case, it retrieves the cache content into a class variable. If the cache does not exist or has expired, the class can start capturing the output of the current script. When the script is done, the class can store the captured content in the cache file.
PHP gFeed is a PHP class that implements a stream wrapper to read and write RSS feeds. It can be used to parse RSS feeds with path specified in the URL and stores the parsed feed values in global variables. It can also generate RSS feeds from values from the same global variables.
gHttp is a class that implements an HTTP stream wrapper that can be used to access Web pages like files. It can submit HTTP POST and GET requests using regular PHP access functions with support for authentication and using proxy servers. It provides the stream wrappers ghttp, phttp, ghttps, and phttps for performing HTTP GET and POST requests respectively using SSL or not. They can also be used as replacements for the regular HTTP stream wrappers under PHP 5.1 or later. Optionally, it can cache the responses of the same HTTP requests in files of a given directory.
Class Manager can be used to load classes based on classpath definitions read from XML files. Source files are loaded automatically and transparently to the application. It checks if source files exist, detects class name collisions, includes all source files to find compilation errors, and more.