Package:
Summary:
Validate email addresses, IP, dates and URLs
Groups:
Author:
Description:
This class can be used to validate several types of values.
It can take a text string and can validate it as an email addresses, IP address, a date or an URL.
Package:
Summary:
Determine the MIME type from a file name extension
Groups:
Author:
Description:
This class can be used to determine the MIME type from a file name extension and vice-versa.
It can take a given file name extension and return the associated MIME type.
The class can also do the opposite, i.e. determine the file name extension associated to a given MIME type.
Package:
Summary:
Validate IDs of China, Taiwan or Hong-Kong
Groups:
Author:
Description:
This package can be used to generate or validate identifier numbers of China, Taiwan or Hong-Kong.
It consists of separate classes that can verify whether identifier numbers for each of the supported countries are valid.
The classes can also generate random identifier number that would be considered valid.
Package:
Summary:
Insert data into a MySQL database table
Groups:
Author:
Description:
This is a very simple class that can be used to insert data into a MySQL database table.
It takes an array of fields and values and executes a MySQL query to insert the values in a given MySQL table record.
Package:
Summary:
Template engine based on text replacement
Groups:
Author:
Description:
This class implements a template engine based on text replacement.
It can load a template file that contains marks to be replaced by parameter values.
The class can also replace the marks with HTML tags with optional parameter values.
Package:
Summary:
Keep track of site visitors in a MySQL database
Groups:
Author:
Description:
This package can be used to keep track of site visitors in a MySQL database.
It can store in a MySQL database table information about site visitors, which are distinguished by ther IP addresses.
This package can also return the count of the current online users.
It can also create the necessary MySQL database tables to store the user visitor information.
Package:
Summary:
Cache arbitrary data in files
Groups:
Author:
Description:
This class can be used to cache arbitrary data in files.
It can check if a given cache file exist or it has not expired. If so, retrieved the cached data. Otherwise, it can store new data in the cache file.
The cache expiry time is configurable.