Category Archives: Classes

New MySQL

Package:
New MySQL
Summary:
Retrieve, update and delete MySQL table records
Groups:
Databases, PHP 5
Author:
Victor Mendonça
Description:
This class can be used to retrieve, update and delete MySQL table records.

It can connect to a given MySQL database server and perform SELECT, UPDATE and DELETE queries to a given table using lists of parameters that define fields, values and conditions.


A Simple upload file class

Package:
A Simple upload file class
Summary:
Validate and process file uploads
Groups:
Files and Folders, HTTP, Validation
Author:
Rizwan Khan
Description:
This class can be used to validate and process file uploads.

It can take the name of a given form upload field and check the respective upload information to see if there was no error and the file MIME type is the one that is expected.

If the file upload was valided, the class moves the file to a given destination directory and output details of the uploaded file.


myRSS XML Generator

Result online Live BookMarks
Package:
myRSS XML Generator
Summary:
Generate RSS feeds from database query results
Groups:
Databases, PHP 5, XML
Author:
fito
Description:
This class can be used to generate RSS feeds from database query results.

It can execute a SQL query to a given database table and generates an RSS 2.0 feed with information from the query results.

The generated feed is stored in a server side file.


Image Handling

This is the crop function using jQuery to select the crop area.
Package:
Image Handling
Summary:
Resize, crop and add watermarks to images
Groups:
Graphics, PHP 5
Author:
Rodrigo Brandao
Description:
This class can be used to resize, crop and add watermarks to images.
It can read GIF, JPEG or PNG images and resize them, crop or add a watermark in the initial image.
In crop function is used Java Script (jQuery + jCrop) to select the crop area.
The resulting image can be saved to a new JPEG, GIF or PNG image file.


YMSG

Package:
YMSG
Summary:
Send messages and manage Yahoo messenger accounts
Groups:
Chat, Networking, PHP 5
Author:
Sandu Adrian
Description:
This class can be used to send messages and manage Yahoo messenger accounts.

It can connect to an Yahoo Messenger server, authenticate as a given user and perform several types of operations on behalf of that user.

Currently it can get the user buddy list, add a new buddy, deny a new buddy request, send a buddy request, remove a buddy, get an user avatar URL, and send a private message.


Bitcoin Shop

Sample setup on my server
Package:
Bitcoin Shop
Summary:
Manage Bitcoin virtual currency accounts
Groups:
E-Commerce, PHP 5, Web services
Author:
Dmitry A. Kirilin
Description:
This package can be used to manage accounts and payments of Bitcoin virtual currency.

It sends HTTP requests with messages in JSON format to Bitcoin node daemon to perform several types of operations to manage accounts and payments with Bitcoin virtual currency.

Currently it can validate Bitcoin address, get account balance and some other information, get the last transaction list, send Bitcoin currency amounts between two users over Bitcoin network or between local accounts.


IP 2 Country IP2C on MySQL

ip2c screen
Package:
IP 2 Country IP2C on MySQL
Summary:
Get country of a given IP address looking up MySQL
Groups:
Databases, Geography, PHP 5
Author:
siarka
Description:
This class can be used to get country of a given IP address looking up in a MySQL database.

It takes a given IP address and looks up a MySQL database to determine the geographic location of the P address.

The class returns the IP address country name and country codes with 2 or 3 letters.


Estonian e-payments solution

Package:
Estonian e-payments solution
Summary:
Submit payments to Estonian and Finnish banks
Groups:
E-Commerce, PHP 5, Web services
Author:
Kristo Vaher
Description:
This class can be used to submit payments to Estonian and Finnish banks.

It can generate HTML for payment buttons that when clicked lead the user to sites of supported banks on which they can authorize payments of configurable items and amounts.

The class can also validate whether the payments were completed successfully by handling requests to return pages where the user browser is redirected after the user has completed a payment.

Currently it supports payments processed by the banks and Web payment services:

Swedbank (Estonia)
SEB (Estonia)
Sampo (Estonia & Finland)
Nordea (Estonia & Finland)
Estcard (Estonian credit card web service, Mastercard, Visa, etc)


Cache File – Part File

Package:
Cache File - Part File
Summary:
Cache PHP script output in files
Groups:
Cache, Files and Folders, PHP 5
Author:
modbay
Description:
This class can be used to cache content in files.

It can capture the current script output and store it in cache files if these do not exist already or they have already expired.

The class can just dump the contents of a cache file and exit if the cache file already exists and did not yet expire.


bbImage

Package:
bbImage
Summary:
Crop and resize images
Groups:
Graphics, PHP 5
Author:
Bruno Braga
Description:
This class can be used to crop and resize images.

It can open images in JPEG, PNG and GIF formats and then crop or resize it to given dimensions.

The processed image can be saved to file or displayed as the current script output in the same format as the original image.


Powered by Gewgley