Category Archives: Classes

Gravatar URL Provider

Package:
Gravatar URL Provider
Summary:
Generate URLs for user images in Gravatar.com
Groups:
Graphics, PHP 5, Web services
Author:
Stanislav Shramko
Description:
This class can be used to generate URLs for user images in Gravatar.com.

It takes as parameters the e-mail of a given user, the type of image and the desired size.

The class returns the URL of a picture of the user with the given e-mail address. A default image URL may also be provide in case the request user image is not available.


Image CAPTCHA

Package:
Image CAPTCHA
Summary:
CAPTCHA validation using a fixed list of images
Groups:
Audio, Graphics, PHP 5, Security, Validation
Author:
mithereal
Description:
This class implements CAPTCHA validation using a fixed list of images.

It retrieves images from a server side directory and displays obfuscated versions to the user along with radio buttons to let the user pick the one that corresponds to the right answer.

The class may also generate automatic thumbnails for each of the images.

It may also play alternative audio samples for visually impaired users.


SharedMemory

Package:
SharedMemory
Summary:
Cache content using eAccelerator extension
Groups:
Cache
Author:
beiliwenxiao
Description:
This class can be used to cache content using eAccelerator PHP extension.

It can store, retrieve and delete arbitrary content stored in cache entries managed by eAccelerator.

Each content entry has a unique name, so different entries can be distinguished.


HTTP Cookie

Package:
HTTP Cookie
Summary:
Manipulate cookies from request header values
Groups:
HTTP
Author:
windylea
Description:
This class can be used to manipulate cookies from request header values.

It can parse HTTP request cookie header values and perform several types of operations like checking whether cookie has expired given its expiry date, rebuild cookies request header from an array of cookies, save or load the list of cookies from a file.


Text Filter

Package:
Text Filter
Summary:
Search for a text string in a file
Groups:
Files and Folders, PHP 5, Searching, Text processing
Author:
beiliwenxiao
Description:
This class can be used to search for a text string in a file.

It can open a given file and read it line by line until it finds one line with a given text string.

The search for the text string is case insensitive.


User online and hits

Package:
User online and hits
Summary:
Keep track of site visitors and page hits in MySQL
Groups:
PHP 5, Statistics, User Management
Author:
kalo
Description:
This package can be used to keep track of site visitors and page hits in a MySQL database.

It is based on the original package named Online Visitors Count written by Alfredo Sanchez.

This version was updated to use PHP 5 syntax and also to keep track of the pages that each visitor accesses.


splay

Package:
splay
Summary:
Generate HTML to embed a sound Flash player
Groups:
Flash, HTML
Author:
Carl Friis-Hansen
Description:
This class can be used to generate HTML to embed a sound Flash player.

It can generate HTML with JavaScript code to embed a sound player in Web pages.

Several details may be configured, such as the URL of the sound file, player colors and width, auto-start and loop option, initial volume, etc..


Debug – Log Writer

Package:
Debug - Log Writer
Summary:
Log activity to files and compact old log files
Groups:
Compression, Logging, PHP 5, Systems administration
Author:
oran
Description:
This class can be used to log activity to files and compact old log files.

It can add event log entries to a given log file that has a name based on the current date.

The class lists all files in the log file directory and makes all log files of past months are compacted in ZIP archives.


sm00sh Class

sm00sh homepage
Package:
sm00sh Class
Summary:
Replace URLs in HTML by short URLs from smsh.me
Groups:
HTTP, PHP 5, Web services
Author:
Lopo Lencastre de Almeida
Description:
This class can be used to replace URLs in HTML by short URLs from smsh.me .

It parses an HTML excerpt to extract the URLs of all links.

The class uses the smsh.me Web services API to create short URLs for all URLs found in the HTML and replaces all the links.


PHP Class for Postal Methods

Package:
PHP Class for Postal Methods
Summary:
Send postal mail using the PostalMethods API
Groups:
Email, PHP 5, Web services
Author:
Shahzad Name
Description:
This class can be used to send postal mail using the PostalMethods API.

It can send a request to the PostalMethods Web services API to send a PDF document to deliver as printed letter to a given postal address and get its delivery status information.


Powered by Gewgley