Tag Archiv: classes

Friendly CAPTCHA

Package:
Friendly CAPTCHA
Summary:
CAPTCHA validation using text with math expression
Groups:
PHP 5, Security, Validation
Author:
Chris Hepner
Description:
This package can be used to implement CAPTCHA validation using text with math expression.

There is a base class that can display a text message to tell the user what he needs to input.

A math subclass generates an expression with a random math operation between two number values.

The user must enter the result of the operation to pass the CAPTCHA validation. The correct answer is stored in session variables for posterior validation.


HTML Image Tag

Package:
HTML Image Tag
Summary:
Generate HTML image tags programmatically
Groups:
Graphics, HTML
Author:
Manuel Lemos
Description:
This class can be used to generate HTML image tags programmatically.

It can automatically compute the image size to fill the width and height attributes for images defined from locally accessible files.

The class can also generate an image tag with a special source URL that contains the actual image data defined according to RFC 2397. This way it, the image can be embedded in your HTML documents, making it possible to display the HTML documents without requiring external image files.

The data for embedded images may be supplied from a locally accessible file or from a string that contains the image file binary data.


Signature

Example screenshot
Package:
Signature
Summary:
Generate signatures that identify the current user
Groups:
Cryptography, HTTP, PHP 5
Author:
Lopo Lencastre de Almeida
Description:
This class can be used to generate signatures that identify the current user.

It can determine serveral details that identify the current user like it browser, operating system, IP address among others, and generates hash that can be used to determine if the user is the same in subsequent accesses.


[New] Free Web Hosting Control Panel Software

If you are setting up your own web server, or having to manage a bare-bones dedicated server or virtual private server (VPS), the software listed on this page may interest you. These free (and often open source) web hosting control panel software let you manage the server from your web browser. They let you configure the web server, email, FTP, databases, DNS, user accounts, domains, and so forth without having to resort to manual editing of server configuration files.

SPaging

Package:
SPaging
Summary:
This class can be used to display MySQL database q
Groups:
Databases, HTML
Author:
SanvidPatel
Description:
This class can be used to display MySQL database query results split into multiple HTML pages.

It is based on another class originally written by Ashish Vishwakarma.

This version changes the style of presentation of the pagination links.


Cup Scheduler

Package:
Cup Scheduler
Summary:
Generate a schedule of games between teams
Groups:
Games
Author:
Martin Polacik
Description:
This class can be used to generate a schedule of games between teams.

It takes as input an array with the names of teams of a league. The number of teams must be even.

The class shuffles the array and displays a list of matches with teams that play against each other.


Security Filter for Request HTTP Data

Package:
Security Filter for Request HTTP Data
Summary:
Filter dangerous values from request variables
Groups:
HTTP, Security
Author:
Roman Shneer
Description:
This class can be used to filter dangerous values from request variables.

It can traverse the $_GET, $_POST, $_REQUEST and $_COOKIE request super-global array variables and reset the entries that match certain regular expressions that identify potential dangerous values.

Currently filter values that contain SQL retrieval queries, cross-site scripting attacks, hexadecimal values, calls to base64_decode and system functions.


Easy Image DB Management

Package: Easy Image DB Management
Summary: Manage images stored in files or MySQL database
Groups: Databases, Graphics
Author: Mikhail D
Description:
This package can be used to manipulate images stored in files or in a MySQL database. It can read images from files and store them in a MySQL database table, and vice-versa. The main class can also convert images between GIF, JPEG and PNG formats, as well resize the images to create thumbnails.

Safe Upload

Package:
Safe Upload
Summary:
Process files uploaded via Web forms
Groups:
Files and Folders
Author:
Ahmed Selim Refaat Ahmed
Description:
This class can be used to process files uploaded via Web forms.

It checks a given uploaded file and performs several checks before processing it like: checking the file name against a black list of banned names, check if the file already exists in a target directory, check whether the file size is not zero nor exceeds and given limit, check the MIME type against a list of accepted types, check the file name extension against a list of accepted extensions.

Then the class processes the file by moving it to a target directory. If it succeeds, the class returns an array with several details about the file.


Powered by Gewgley