Tag Archiv: classes

Upload Class TKB

Package:
Upload Class TKB
Summary:
Resize (uploaded) image files
Groups:
Files and Folders, Graphics
Author:
Tiago Kinust Biage
Description:
This class can be used to resize (uploaded) image files.

It can take the file name of a GIF, JPEG or PNG image and resize it to make sure it does not have more than a given width or height.

The resulting resized image overwrites the original image.

In Portuguese:

Classe para fazer upload de arquivos com possível resize se for PNG, GIF ou JPEG.


dXSS

Package:
dXSS
Summary:
Filter dangerous values from the GET parameters
Groups:
HTTP, Security
Author:
Francisco López
Description:
This class can be used to filter dangerous values from the GET parameters.

It can traverse the list of GET request values and check if they contain values considered to be dangerous.

Dangerous values are those with text from a list of dangerous strings, have non-alphanumeric characters or have a length larger than a given limit.

The class sends a response header to redirect the user browser to another given URL if a dangerous GET values is found.


Flexible cart

Package:
Flexible cart
Summary:
Create and manage a shopping cart
Groups:
E-Commerce, PHP 5
Author:
mano kalousdian
Description:
This class can be used to create and manage a shopping cart.

It can create a shopping cart by storing in a session variable the identifier and quantities of each product added to the cart.

The class can also update the quantities of the added products, remove products and retrieve the list of products in the cart.


Ping class

Package:
Ping class
Summary:
Send ping requests to given addresses
Groups:
Networking, PHP 5
Author:
jeremy gachet
Description:
This class can be used to send ping requests to given addresses.

It can use the ping program to send ping ICMP requests to one or more server addresses.

The class can return or display the ping command response messages if it fails.

The code and the comments are in French.

In French:

Classe simple et puissante pour pinguer les services web auxquels votre site est abonné, et pour améliorer son référencement


QR code generator

Example of QR code
Package:
QR code generator
Summary:
Generate QR Code images using Google Chart API
Groups:
Graphics, PHP 5, Web services
Author:
Arturs Sosins
Description:
This class can be used to generate QR Code images using Google Chart API.

It can send an HTTP request to the Google Chart API Web server to request the generation of a PNG image that represents the QR code graphic for a given information snippet.

Currently the class can request the generation of QR codes for information snippets of types: bookmark, text, SMS message, phone number, contact information, e-mail message, geo-location, WIFI access, i-appli metadata or abitrary content-type.

The generated QR code image can be returned as a string, served for download or returned as an URL string.


Members Controller

Package:
Members Controller
Summary:
Manage records of registered users in a MySQL
Groups:
Databases, PHP 5, User Management
Author:
abdulmalik abdulrrahman
Description:
This class can be used to manage records of registered users stored in a MySQL database. It can:

- Create new user records
- Verify an user password and starts a logged user session
- End a logged user session
- Check if an account exists with a given user name
- Check if an user has certain permissions
- Retrieve user information by user name, e-mail or id or some other attribute
- Delete an user
- Update an user record


Haanga

Package:
Haanga
Summary:
Template engine to process Django style templates
Groups:
Code Generation, PHP 5, Templates
Author:
Cesar D. Rodas
Description:
This package is a template engine that can process Django style templates.

It can parse Django style templates and compile them into PHP code that can be executed to generate the processed template output.

The engines supports variable replacement, conditional blocks, loops, external template file inclusion.

It also supports template inheritance by allowing to redefining a template based on another template.


My simple Query Language Class for MySQL & MySQLi(Improved)

Package:
My simple Query Language Class for MySQL & MySQLi(Improved)
Summary:
Database access wrapper using MySQL or MySQLi
Groups:
Databases, PHP 5
Author:
Mustafa OZGUR
Description:
This class is Database access wrapper using MySQL or MySQLi extensions. It can:

- Establish connections to a MySQL server
- Execute arbitrary queries and return the number of result rows, the number of affected rows or the last inserted identifier
- Execute INSERT queries given the table name and field value arrays
- Execute SELECT queries and return single values or arrays with results


Powered by Gewgley