Package:
Summary:
Calculate the distance between Earth two points
Groups:
Author:
Description:
This class can be used to calculate the distance between Earth two points.
It takes the latitude and longitude coordinates of two points of the Earth and calculates the distance between them using the Haversine formula.
The distances may be returned in Kilometers, meters, miles, yards, feet or inches.
Package:
Summary:
Compare two images to find the differences
Groups:
Author:
Description:
This class can be used to compare two images to find the differences.
It takes two images and resize them to have 20 by 20 pixels to generate an array with the intensity of the color used in pixels of the resized image.
The class returns a value that evaluates the difference of the intensity of the pixels of the two images.
Package:
Summary:
Scan script files for malicious code
Groups:
Author:
Description:
This class can be used to scan script files to find eventually malicious code.
It can traverse a given directory recursively and checks script files to see if they may contain code that may be eventually malicious.
Currently it finds script files that are using functions often used in infected scripts, such as base64_encode and base64_decode.
Package:
Summary:
Generate classes to manipulate MySQL table rows
Groups:
Author:
Description:
This package can be used to generate classes to manipulate MySQL table rows.
It is an enhanced version of the original package written by Marco Voegeli.
This version can also generate function for retrieving one row or all rows, serializing the object into a string, retrieve the count of row in the table. The update and delete functions were also updated.
Package:
Summary:
Handle browser events in PHP
Groups:
Author:
Description:
This package can be used to handle browser events in PHP.
It can register event handler callback functions that should be handled when certain events are triggered.
The main class takes requests to raise events and dispatch them by calling the registered event handler functions.
A specialized sub-class can decode JSON object parameters passed from JavaScript running on the browser to the event handler.
Package:
Summary:
Calculate the age of a person given the birth date
Groups:
Author:
Description:
This class can be used to calculate the age of a person given the birth date.
It takes the birth date and computes the number of years, weeks and days that the person lived.
Package:
Summary:
Create noise with Gaussian or Poisson distribution
Groups:
Author:
Description:
This package can be used to create noise with certain probability distributions.
It can generate sets of values with different with either uniform, Gaussian or Poisson distribution.
It can also apply the generated values at an input signal in input to simulate a noise.
An additional filter class can be used to recover the original by first applying a Fast Fourier Transform, the use high-pass or low-pass before recovering the signal using the reverse Fast Fourier Transform.
Package:
Summary:
Browse MySQL query results split in pages
Groups:
Author:
Description:
This package can be used to browse MySQL query results split in pages.
It can take a MySQL query and generates navigation links to browse to the different pages among which the listing of the query results will be split.
Package:
Summary:
Search for words in files
Groups:
Author:
Description:
This class can be used to search for words in files.
It traverse a given directory recursively and search for files that have words from a list which may be read from a given file.
The class can restrict the search to files with a given file name extension and have full read and write permissions.
Package:
Summary:
Resize and add watermarks to images
Groups:
Author:
Description:
This class can be used to resize and add watermarks to images.
It can handle requests for GIF, JPEG or PNG images that need to be resized to match a certain size and need to have a watermark applied.