Package:
Summary:
Filter request values to avoid insecure values
Groups:
Author:
Description:
This class can be used to filter request values to avoid eventually insecure values.
It can traverse the HTTP POST and GET request variables and perform several operations to filter their values.
Currently it strips slashes, encode HTML entities, replace script tags and escape values for use in MySQL database queries.
Package:
Summary:
Call a function after a period of time
Groups:
Author:
Description:
This class can be used to make PHP call a function after a period of time.
It can register one or more callback functions that should be called after a given timeout value or every time after a given period of time elapses.
The class registers a single callback function to handle PHP tick calls. That function takes care of calling all registered timer callback functions.
Package:
Summary:
Manage a balanced tree of text word nodes
Groups:
Author:
Description:
This package can be used to manage a balanced tree of text word nodes.
It implements a left leaning Red-Black binary search tree that uses Node objects instead of arrays to implement the tree data structures.
It can perform operations on nodes of text words like insert, search, delete and traverse the tree, maintaining a balanced and correctly formed tree after all operations.
Package:
Summary:
Convert images into colored HTML text
Groups:
Author:
Description:
This class can be used to convert images into colored HTML text.
It can open an image in JPEG format and traverse its pixels to generate HTML that renders the image as a sequence of colored characters of 1 pixel of width and height.
The generated HTML can be saved to a given file.
Package:
Summary:
Convert time between zones defined in a database
Groups:
Author:
Description:
This class can be used to Convert time between zones defined in a MySQL database.
It can lookup in a MySQL database table for time zone offsets relative to GMT given the zone identifier.
The class can convert date and times between zones based on offsets retrieved from the database.
Package:
Summary:
Copy multiple files preserving the directories
Groups:
Author:
Description:
This package can be used to copy multiple files preserving the directories.
It can display a form to let the user choose the source and target directories of the files to be copies.
The main class can copy the selected files to a given destination directory, recreating sub-directories if necessary to preserve the relative paths of the source files.
Optionally it can remove comments and obfuscate the PHP files that are being copied using the PHP Trasher class by Setec Astronomy.
Package:
Summary:
Log activity to files buffering the messages
Groups:
Author:
Description:
This class can be used to log activity to files buffering the messages.
It can log one or more activity messages to a log file.
The messages are first stored in class private array variable that works as a buffer.
When the object is destroyed, eventually at the end of the script, the messages are flushed to the log file all at once.
Package:
Summary:
Get the most used colors in an image
Groups:
Author:
Description:
This class can be used to get the most used colors in an image.
It can open an image file in JPEG format and traverse its pixels to find which are the most used colors. It can skip a given number of analyzed pixels according to the granularity parameter.
The class returns an array of top most used colors up to a given limit of number or colors. The colors are returned in RGB hexadecimal format.
Package:
Summary:
Encrypt and decrypt data using SHA1 hashes of keys
Groups:
Author:
Description:
This class can be used to encrypt and decrypt data using SHA1 hashes of keys.
It takes a string of data and applies several functions to scramble the data. Then it uses an SHA1 has of the key to encrypt the scrambled data by using the XOR function.
The class can also do the opposite, i.e. apply the SHA1 hash of the key to decrypt the encrypted data. Then it unscrambles the data using functions that invert the result of the original data scrambling.
Package:
Summary:
Generate and parse XML documents with binary files
Groups:
Author:
Description:
This class can be used to generate and parse XML documents with binary files.
It can take a list of files and generate a XML document that includes the data of files using base64 encoding.
The class can also do the opposite, i.e. parse a previously generated XML document and recreate files contained in the document.