Category Archives: Classes

File_upload

Package:
File_upload
Summary:
Validate and copy uploaded files
Groups:
Files and Folders, HTTP, PHP 5, upload & download
Author:
Evgeniy Gennadevich
Description:
This class can be used to validate and copy uploaded files.

It can check an upload file and determine if it has one of the accepted file name extensions and it does not exceed a given size limit.

The class can also copy the file to a given upload directory, creating it first with the right permissions if the directory does not exist.

The comments and error messages are in Russain, but the code, function names and variable names are in English.


Retorna latitude/longitude a partir do CEP

Package:
Retorna latitude/longitude a partir do CEP
Summary:
Get the coordinates of a place in Brazil from CEP
Groups:
Geography, PHP 5, Web services
Author:
Diego Agudo
Description:
This class can be used to get the coordinates of a place in Brazil from CEP zip code using Google Maps API.

It take a given zip code of Brazil (CEP) and sends request to the Google Maps API to obtain the longitude and latitude coordinate of the respective location.

The class can also send a request to obtain the address of a location given its latitude and longitude coordinates.

In Portuguese:
Retorna latitude e longitude de um lugar a partir do CEP.


rrd4sar

Sample display of rrd4sar
Package:
rrd4sar
Summary:
Render graphs for sar output from remote host
Groups:
Graphics, Networking, System information
Author:
Praveen Kumar K S
Description:
This class can be used to render graphs for sar output from remote host.

It uses SSH execute the sar command on a remote machine and retrieve its output.

The class uses the rrdtool to render graphs of the statistics retrieved with sar.


rrd4sar

Sample display of rrd4sar
Package:
rrd4sar
Summary:
Render RRD graphs for SAR output from remote host
Groups:
Graphics, Networking, System information
Author:
Praveen Kumar K S
Description:
This class can be used to render rrd graphs for sar output from remote host.

It uses SSH(libssh2) to execute the sar command on a remote machine and retrieve its output.

The class uses the rrdtool to render graphs of the statistics retrieved with sar.


NewHaze API

Package:
NewHaze API
Summary:
Incorporate games in sites with the NewHaze API
Groups:
Games, PHP 5, Web services
Author:
Edmund Gentle
Description:
This class can be used to incorporate games in sites with the NewHaze API.

It can send HTTP requests to the NewHaze Web service API server to perform several operations.

Currently it can execute operations with statistics, avatars, comments, categories, favorites, feed, friends, newsletters, games, sites and users.


File Joiner

Package:
File Joiner
Summary:
Join files retrieve via HTTP into a single file
Groups:
Files and Folders, HTTP, PHP 5
Author:
Plamen Markov
Description:
This class can be used to join files retrieve via HTTP into a single file.

It takes a list of HTTP URLs and retrieves the data from the specified locations.

The class gathers the retrieved data and save it to a single local file.


Fast Fourier Transform

Screenshot
Package:
Fast Fourier Transform
Summary:
Compute the Fast Fourier Transform of sampled data
Groups:
Algorithms, Audio, PHP 5
Author:
Michele Andreoli
Description:
This class can be used to compute the Fast Fourier Transform (FFT) of sampled data, as well the inverse Fast Fourier transform.

It takes an array of sample data values and calculates the respective Fast Fourier Transform. The result is returned as an array of complex values.

The class can also do the opposite, i.e. compute the inverse Fast Fourier transform .


jopt

Package:
jopt
Summary:
Optimize routes using JOpt.AAS services
Groups:
Geography, PHP 5, Web services
Author:
Plamen Markov
Description:
This class can be used to optimize routes using JOpt.AAS services.

It can send HTTP requests to the JOpt.AAS SOAP API Web server to add route nodes, add vehicles location, start the optimization process, and get the optimization process progress and obtaining the results.


splx_graph

sample
Package:
splx_graph
Summary:
Render polygons in HTML pages using DIV elements
Groups:
Graphics, HTML
Author:
Alessandro Vernassa (speleoalex)
Description:
This class can be used to render polygons in HTML pages just using DIV elements.

It can generate HTML for presenting different types of polygons in Web page given their shape and coordinates in pixels.

Currently it can draw individual pixels, lines, rectangles, circles, or any other polygon given it coordinates of its edges.


Music Albums Year Analyzer

Package:
Music Albums Year Analyzer
Summary:
Scan music files collection
Groups:
Files and Folders, Music, PHP 5
Author:
Ahmad Retha
Description:
This class can be used to scan music files collection.

It can traverse a given directory where there are music album files.

The class can count the music files it find with a given file name pattern. It can also return the count of albums sorted by year.


Powered by Gewgley