Category Archives: Classes

Zend MySQL adapter (not mysqli or pdo_mysql)

Package:
Zend MySQL adapter (not mysqli or pdo_mysql)
Summary:
Zend DB adapter using the original MySQL extension
Groups:
Databases, PHP 5
Author:
Viktor Jenei
Description:
This class implements an adapter for Zend DB of Zend Framework that uses the original MySQL extension.

It provides the same functionality as other adapters that use the MySQLi or PDO MySQL extensions, except that it uses the mysql_connect, mysql_query and other functions of the original PHP MySQL extension.


phpOpenGraph

Package:
phpOpenGraph
Summary:
Extract OpenGraph information from sites
Groups:
HTML, PHP 5, Web services
Author:
Gerson Minichiello
Description:
This class can be used to extract OpenGraph information from sites.

It can take the URL of a given site page and parse the page to extract information of OpenGraph protocol properties like site title, type, image, URL, site name, etc..


PHP OpenGraph

Package:
PHP OpenGraph
Summary:
Extract OpenGraph information from sites
Groups:
HTML, PHP 5, Web services
Author:
Gerson Minichiello
Description:
This class can be used to extract OpenGraph information from sites.

It can take the URL of a given site page and parse the page to extract information of OpenGraph protocol properties like site title, type, image, URL, site name, etc..


Super Global Secure Sql Injection Updated

Package:
Super Global Secure Sql Injection Updated
Summary:
Filter request values to avoid insecure values
Groups:
HTTP, Security
Author:
rakesh
Description:
This class can be used to filter request values to avoid eventually insecure values.

It is a updated version of the class originally written by Bendikt Martin Myklebust.

This version can handle request variables with multiple values in arrays.


Easy Debug

Package:
Easy Debug
Summary:
Handle errors and measure PHP execution time
Groups:
Debug, PHP 5, Time and Date
Author:
adrien gibrat
Description:
This class can be used to handle errors and measure PHP execution time.

It provides an error handler that is called when a PHP error occurs. The handler can display the names of functions and arguments that were called where the error occurred.

The class can also measure the time different PHP script sections take to execute.


Simple comments

image with the form
Package:
Simple comments
Summary:
Store and show user comments in site pages
Groups:
Content management, Databases, HTML
Author:
german gomez bajo
Description:
This class can be used to store and show user comments in site pages.

It can display a form for taking user comments in a given page.

The class can process the submitted comments and store them in a MySQL database table.

The submitted comments can be displayed in the page next to the form.


Music Albums from Amazon

Package:
Music Albums from Amazon
Summary:
Retrieve information about music tracks on Amazon
Groups:
Audio, PHP 5, Web services
Author:
Prabhjit Singh
Description:
This class can be used to retrieve information about music tracks on Amazon.

It takes an ASIN code for a given music track and send a request to Amazon Web services API to find the ASIN code of the same music track in MP3 format.

The class returns an array encoded in JSON format with title and URL of the requested track.


MetaTune

Package:
MetaTune
Summary:
Retrieve music information using Spotify API
Groups:
Audio, PHP 5, Web services
Author:
Mikael Brevik
Description:
This package can be used to retrieve music information using Spotify API.

It can send HTTP requests to Spotify Web services API servers to perform several queries.

Currently it can perform searches (and detailed lookup by Spotify URI) for music, albums and artists, and return associated information.


Simple chat

Package:
Simple chat
Summary:
Simple Web and MySQL based chat system
Groups:
AJAX, Chat, Databases
Author:
Petr Rezac
Description:
This class implements a simple Web and MySQL based chat system.

It generates HTML and JavaScript to display a chat box and a form input to submit new chat line entries using AJAX to avoid page reloading.

A script receives the new chat lines and stores them in a MySQL database. It also returns all the latest chat lines to display.


Powered by Gewgley