Category Archives: Classes

Geo API

Package:
Geo API
Summary:
Get IP geographic location using MaxMind API
Groups:
Geography, PHP 5, Web services
Author:
Iain Cambridge
Description:
This classes can be used to get geographic location of an IP address using MaxMind API.

It can send HTTP requests to the MaxMind Web services API Web server to request geographic information of a computer with a given IP address.

Currently it may return the latitude, longitude, city, region, post code, metro code, area code, ISP and organization.


Datas class

Package:
Datas class
Summary:
Compute the difference of time between dates
Groups:
Time and Date
Author:
Fagner Fernandes
Description:
This is a simple class that can be used compute the difference of time between dates.

It takes two dates and compute the difference between them in days, hours, and minutes.

In Portuguese:

Esta class tem uma função que retorna diferença entre as datas em Dias, Horas ou Minutos.


Mysqli Query Parameterization Class

Package:
Mysqli Query Parameterization Class
Summary:
Execute prepared queries with MySQLi extension
Groups:
Databases, PHP 5
Author:
Eric Lakich
Description:
This class can be used to execute prepared queries with MySQLi extension.

It can access a given MySQL database using the MySQLi extension and execute prepared queries by defining the value and type of the parameters.

The class can return last inserted row identifier and the query results into arrays.


PassGen

Package:
PassGen
Summary:
Generate pronounceable passwords
Groups:
PHP 5, Text processing
Author:
Ricardo
Description:
This class can be used to generate pronounceable passwords.

It can generate a text string with a given length with alternating consonants and vowels.

Optionally it may include digits, repeat letters and use upper and lower case letters.

Generates pronounceable passwords easy to remember. Can generate passwords up to 10 characteres and case-sensitive if applicable.


uploadfer

Package:
uploadfer
Summary:
Validate and process uploaded image files
Groups:
Files and Folders, Graphics, PHP 5, Validation
Author:
fernando
Description:
This class can be used to validate and process uploaded image files.

It can take an array of information of an uploaded file and validate it by checking the MIME type against a list of accepted MIME types.

The class can move the file to a given directory. It can also generate thumbnails when the images are files.

In Spanish:

Clase que se encarga de recibir los datos de un file recogido través de un formulario POST y los sube a la carpeta que se desee.

La clase hace distinciones de tipos mime de los archivos y permite generar thumbnails para las imagenes.


Red Bean PHP

Package:
Red Bean PHP
Summary:
Store and retrieve objects in SQLite databases
Groups:
Databases, Design Patterns, PHP 5
Author:
Gabor
Description:
This package can be used to store and retrieve objects in SQLite databases.

It can create objects, add properties and assign the property values.

The object property values are stored in SQLite table records when the objects are saved.

It can also retrieve object values from the database given the table name and object identifier.


MySQL cache class

Package:
MySQL cache class
Summary:
Cache MySQL query results in session variables
Groups:
Cache, Databases, PHP 5
Author:
denis
Description:
This class can be used to cache MySQL query results in session variables.

It can perform a given SELECT SQL query and store the result in a session variable.

Next time the same query is executed it can retrieve the results from the session variable if it did not exceed the cache expiry time.


Powered by Gewgley