Category Archives: Classes

Haversine

Package:
Haversine
Summary:
Calculate the distance between Earth two points
Groups:
Algorithms, Geography, PHP 5
Author:
Leonardo Branco Shinagawa
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.


Image compare

Package:
Image compare
Summary:
Compare two images to find the differences
Groups:
Graphics, PHP 5
Author:
denis
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.


PHP Vulnerability Scanner

Package:
PHP Vulnerability Scanner
Summary:
Scan script files for malicious code
Groups:
Files and Folders, PHP 5, Security
Author:
Er. Rochak Chauhan
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.


PHP Class Generator Bryan Version

Package:
PHP Class Generator Bryan Version
Summary:
Generate classes to manipulate MySQL table rows
Groups:
Code Generation, Databases
Author:
Bryan
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.


cjEvents

Package:
cjEvents
Summary:
Handle browser events in PHP
Groups:
AJAX, PHP 5
Author:
Jo Giraerts
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.


Probability distribution

screenshot
Package:
Probability distribution
Summary:
Create noise with Gaussian or Poisson distribution
Groups:
Audio, PHP 5, Statistics
Author:
Michele Andreoli
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.


Pagination in PHP

SortImg1
Package:
Pagination in PHP
Summary:
Browse MySQL query results split in pages
Groups:
Databases, HTML, PHP 5
Author:
Qazi Umar
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.


Web Shell Searcher

Package:
Web Shell Searcher
Summary:
Search for words in files
Groups:
Files and Folders, PHP 5, Searching
Author:
andrei vadimovich
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.


Powered by Gewgley