Tag Archiv: classes

Logger_ciacob

Package:
Logger_ciacob
Summary:
Log variable values to files
Groups:
Logging, PHP 5
Author:
Claudius Tiberiu Iacob
Description:
This class can be used to log variable values to files.

It can add log entries to files with the values of variables of any PHP types.

The log files are stored in a configurable logs directory with names based on the current calling context.

The log file size limit and the log line length wrap limit are some of the configurable parameters. The class configuration values can be retrieved from a XML file.


PreLoad Images

Package:
PreLoad Images
Summary:
Generate page with preloaded images
Groups:
Databases, Graphics, HTML
Author:
riccardo castagna
Description:
This class can be used to generate page with preloaded images.

First, it can list images from a directory and store the list in a MySQL database.

The class can generate HTML with Javascript to preload all listed images in the user browser, so the next browsed pages that need the images can load much faster.


Detect Opcode Cache

Package:
Detect Opcode Cache
Summary:
Detect whether PHP is running an opcode cache
Groups:
Language, PHP 5, System information
Author:
Alexander Over
Description:
This class can be used to detect whether PHP is running an opcode cache.

It can check the presence of certain PHP options or functions to determine if one of several known opcode cache extensions is available.

Currently it can detect XCache, Microsoft WinCache, APC, eAccelerator, PHPA and Zend Accelerator.


Web Open Patch

Package:
Web Open Patch
Summary:
Filter values to prevent security exploits
Groups:
PHP 5, Security, Validation
Author:
Marcos Bezerra
Description:
This class can be used to filter values to prevent security exploits.

It can filter values in several ways to avoid values that could be used to perform security attacks.

Currently it can filter values to prevent MySQL SQL injections, injection of e-mail messages in headers, escaping values to prevent cross-site scripting, generate and validate tokens to prevent cross-site request forgery attacks.


Large File Reader

Package:
Large File Reader
Summary:
Read large text files one byte at a time
Groups:
Files and Folders, PHP 5
Author:
Leonardo Branco Shinagawa
Description:
This class can be used to read large text files one byte at a time.

It uses PHP function file_get_contents to seek to the current read position and reads lines of text one byte at a time.

It can also seek the file to find the position of a given line.


GTranslator

Package:
GTranslator
Summary:
Translate text using Google Translate
Groups:
Localization, Web services
Author:
Forud A
Description:
This class can be used to translate text using Google Translate.

It can send a request to Google Translate Web services API to translate a text to a given idiom.

The class can also return a list of valid accepted idioms including auto-detect the original text idiom.


Dynamic Multi Level Drop Down Menu in PHP/MYSQL/JavaScript

Menu Screen Shot
Package:
Dynamic Multi Level Drop Down Menu in PHP/MYSQL/JavaScript
Summary:
Display an hierarchic menu stored in a MySQL table
Groups:
Databases, HTML
Author:
Pravin Sonawane
Description:
This class can be used to display an hierarchic menu stored in a MySQL table.

It retrieves the title and link URLs of items of a menu from a MySQL database product table.

The class generates HTML and Javascript to display the pull down menus with links according to the hierarchy of children and parent items retrieved from the database.


Dynamic Multilevel Drop Down Menu in PHP/MYSQL/JavaScript

Menu Screen Shot
Package:
Dynamic Multilevel Drop Down Menu in PHP/MYSQL/JavaScript
Summary:
Display an hierarchic menu stored in a MySQL table
Groups:
Databases, HTML
Author:
Pravin Sonawane
Description:
This class can be used to display an hierarchic menu stored in a MySQL table.

It retrieves the title and link URLs of items of a menu from a MySQL database product table.

The class generates HTML and Javascript to display the pull down menus with links according to the hierarchy of children and parent items retrieved from the database.


Powered by Gewgley