This is a PHP class that attempts to validate a given e-mail address at three levels: matching the address against a RFC compliant regular expression, verifing the existence of the destination SMTP server by verifying the respective DNS MX record, and connecting to that server to see if the given address is accepted as a valid recipient. The class also features a debugging output option that lets you see the remote SMTP server connection and data exchange dialog to see the real cause why an apparently valid address may not be accepting messages.
Metabase is a DBMS-independent PHP API to access SQL databases. It supports MySQL, PostgreSQL, Oracle, Microsoft SQL server, Microsoft Access, ODBC, Interbase, Informix, MiniSQL, and SQLite. It supports nested transactions, blobs, and prepared queries. It can install database schemas defined in a DBMS independent XML format that describe tables, indexes, primary keys, and auto-increment sequences. It is also able to upgrade a database to a new schema without affecting the data that was stored since it was installed or upgraded for the last time. There is also schema reverse engineering support.
PHP HTTP protocol client is a PHP class for making HTTP requests. It can establish connections via SOCKS or proxy servers and establish secure connections (HTTPS) with optional SSL client certificates. It supports HTTP Basic, HTTP Digest, and NTLM (Windows or Samba) authentication mechanisms. It submits POST requests with user-defined form values, file uploading, or with user-defined request bodies. It handles cookies and automatic redirection handling. There is an addon class that logs in to Yahoo! and executes actions on behalf of the user, like exporting the address book or sending invitations to Yahoo! groups.
XML parser class is a PHP class that parses arbitrary XML input and builds an array with the structure of all tag and data elements. Optionally it can keep track of the positions of each element to locate elements that may be contextually in error. Supports a parsed file cache to minimize the overhead of parsing the same file repeatedly. Optimized parsing of simplified XML (SML) formats ignoring the tag attributes.
File cache class is a PHP Class that can cache arbitrary data in files in order to reduce the time necessary to regenerate pages or other types of data that do not change every time they are requested. It features safe locking of cache files to avoid data corruption caused by simultaneous accesses during cache file updates, portable locking schemes, and the ability to set a cache expiry date or timeout period. Cache files can store user-defined headers besides the cached data, and also standard headers used in HTTP like content-length:, date:, expires:, etag:, etc. It has been tested under Linux, SunOS and Windows.
SMTP client class is a PHP class that connects to a mail server to send messages. It can relay message delivery to a defined server or directly deliver messages to a recipient's server for urgent message delivery. It supports secure connections with SSL or starting TLS after the connection is established, connection timeouts, authentication using PHP SASL class (PLAIN, LOGIN, CRAM-MD5, NTLM), POP3 before SMTP delivery authentication, and takes advantage of the SMTP PIPELINING extension to buffer SMTP commands, providing much faster queueing of messages when delivering to a large number of recipients (bulk mail).
RSS Writer Class is a PHP class that can generate RSS (Rich/RDF Site Summary) XML documents. It extends the XML Writer class to generate XML-RSS documents. It features simplified definitions of channel and item properties, support for defining optional channel graphic images and search form text inputs, support for RSS specification versions 0.9, 0.91, 1.0, and 2.0, support for using namespace modules to extend the document property set, and an optional XSL stylesheet example to automatically view RSS documents as HTML pages in XML capable browsers.
phpSQLGen provides functions for generating SQL queries, HTML tables, and XML documents. It consists of two classes and a set of utility functions. SQLGen provides PHP functions for generating SQL query strings from arrays, and TableMaker generates an HTML table or XML document from an ADOdb result set or an array. Since the output of each SQLGen method is a SQL query string, the library is compatible with ADOdb, PEAR DB, PHPLib, and any other database abstraction layer that can execute SQL query strings. This is useful for constructing complicated SQL queries that vary according to the situation. Different if-then clauses can push items onto from the argument array - SQLGen will take care of inserting commas and "ands" into the query string as necessary. This can be used together with the ability to populate an array directly from a form for the automatic generation of SQL queries from form variables.
Error Handler provides a custom interface to error handling in PHP. Several report formats can be used to reveal what circumstances led to a certain error. One for logging, one for display, and one for redirection. It captures the errors and captures (to a customized level) the context and variables surrounding the source of the error and neatly organizes them as a series of reports.
freshmeat Project Query Class queries freshmeat.net and retrieves information on projects with records there. It features retrieval of project information from records provided by freshmeat in XML, parsing of project XML records to extract all the relevant data, and caching of retrieved project information in disk files for at least the next day to avoid retrieving the same data again before it could have been updated.