Monthly Archiv: September, 2010

Translation and Dictionary

Simple view on an html file
Package:
Translation and Dictionary
Summary:
Get application texts in several idioms from MySQL
Groups:
Localization, PHP 5
Author:
César Bruschi
Description:
This class can be used to get application texts in several idioms from a MySQL database.

It can retrieve from a MySQL database all the texts in a given idiome for a given application context.

The class can also retrieve the list of available idioms for which there are translations.


Easy CAPTCHA

Package:
Easy CAPTCHA
Summary:
Generate images for CAPTCHA validation
Groups:
Graphics, PHP 5, Security, Validation
Author:
chaabelasri
Description:
This class can be used to generate images for CAPTCHA validation.

It can generate an image with random validation text on it obfuscated by a given background image.

The generated image is stored in JPEG format in an a given directory.

The validation text is stored in session variable for posterior validation.


jQuery4PHP

Package:
jQuery4PHP
Summary:
Generate JavaScript to use the jQuery library
Groups:
AJAX, PHP 5
Author:
Omar Yepez
Description:
This package can be used to generate JavaScript to use the jQuery library.

It provides classes that wrap around jQuery objects and generates JavaScript to perform calls to those objects, including making AJAX calls to be handled by PHP script.


CSFD Parser

Package:
CSFD Parser
Summary:
Retrieve movie information from the CSFD site
Groups:
Video, Web services
Author:
Martin Zeman
Description:
This class can be used to retrieve movie information from the Cesko-Slovenská filmová databáze (CSFD) site.

It can retrieve the page of a given movie in the CSFD site and parse it to extract the information of the movie.

Currently it can extract the movie name, poster, ratings, actors, direction, genre, year, description, comments, etc..


[Free] Internet Chat Software: New Instant Messaging (IM) Client

Chat with others online using the latest addition to the Free Instant Messaging (IM) Clients page. This newest entry, Adium, is a Mac OS X chat software that connects to a wide range of other chat software. Don't worry: if you don't use a Mac, there are also Windows and Linux chat software listed on that page. And they're all free.

proc_runner

Package:
proc_runner
Summary:
Run a script in background using PHP CLI
Groups:
Language, PHP 5
Author:
denis
Description:
This class can be used to run a script in background using PHP CLI.

It uses PHP proc_open() function to run a PHP script in the background by executing the PHP CLI program version.

The started background scripts may run until they finish or may be stopped by the class usin the PHP proc_close() function.


Retrieving, executing and saving partial data from SQL dump

Screenshot
Package:
Retrieving, executing and saving partial data from SQL dump
Summary:
Extract table dumps from full MySQL database dumps
Groups:
Databases, PHP 5, Systems administration
Author:
Alexander Selifonov
Description:
This class can be used to extract table dumps from full MySQL database dumps.

It can parse a MySQL full database and extract the SQL CREATE and INSERT statements just for given tables.

The extracted SQL statements may be executed immediately or saved to a new database dump file.

Sometimes database administrators or programmers need to restore or copy only a few data tables from one server to another, but all they have is a full DUMP file created by standard utilities like 'dump' (for MySQL).
For production systems it can be really HUGE file, so the task seems to be not so simple.

CDataFromDump class aimed to resolve the problem: it parses source dump file and grabs only data for desired table list. These CREATE TABLES and INSERT operators can be instantly executed on connected database or saved into a new SQL file, for editing and/or executing later.

Currently the class has following features:
- During the first scan, it tries to creates "metadata" file for processed dump, so next retrieving jobs will be much faster.
- Grabs only SQL operators for the tables from passed list
CREATE TABLE operators can be executed/included into result SQL file or NOT, according to passed parameters.


Powered by Gewgley