Tag Archiv: classes

Simple JSON DB

Package:
Simple JSON DB
Summary:
Store and retrieve data from files in JSON format
Groups:
Data types, Files and Folders, PHP 5
Author:
Gustavo de Arruda Paes
Description:
This class can be used to store and retrieve data from files in JSON format.

It can set one or more key-value pairs and save all the values to a file serializing in JSON format.

The class can also open a previously saved file and read the saved values into a class array variable.

The comments in the class are in Portuguese.

In Portuguese:

Leia e escreva arquivos do tipo JSON. Com essa classe você pode criar um simples banco de dados com arquivos em disco.


PHP MySQL Connection Class

Package:
PHP MySQL Connection Class
Summary:
Access MySQL databases
Groups:
Databases
Author:
Saeid Yazdani
Description:
This class can be used to access MySQL databases. It can:

- Establish MySQL database server connections
- Execute SQL queries and return the results in arrays
- Count the number of records in tables
- Execute queries to retrieve a single value or multiple values
- Get the list of tables
- Get the SQL definition and record data for recreating a table
- Generate dump with SQL statements to recreate a database


cBancoDados

Package:
cBancoDados
Summary:
Establish conections to a MySQL database server
Groups:
Databases
Author:
Leandro Prudente
Description:
This is a very simple class that can establish conections to a MySQL database server.

It can open a connection to a given MySQL server to become the default database connection.

The class can also select the current database and close the database connection.

In Portuguese:

Classe para conexão de banco de dados MySQL com PHP orientado a objetos.
Com esta classe retiramos todo o SQL das páginas.


Umar File Upload

Package:
Umar File Upload
Summary:
Check and process uploaded files
Groups:
Files and Folders, HTTP, PHP 5
Author:
Qazi Umar
Description:
This class can be used to check and process uploaded files.

It can check whether a file was uploaded without errors, whether its size is within the accepted limit, whether the file name extension is in the list of accepted extensions, and whether the destination directory exists.

The class can copy a valid uploaded file to the destination directory. If the file is an image, it can also create a thumbnail.


Advanced User Agent

Package:
Advanced User Agent
Summary:
Detect the type of browser accessing the site
Groups:
HTTP
Author:
Selman TUNÇ
Description:
This class can be used to detect the type of browser accessing the site.

It analyzes the user agent request header and compares it to known patterns to detect the type of browser currently accessing the site.

The class can return the browser name, version, whether it is a browser on a mobile device and the user language.


Cleaner

Package:
Cleaner
Summary:
Remove symbols and HTML tags from text
Groups:
Text processing
Author:
silviu dicu
Description:
This class can be used to remove symbols and HTML tags from text.

It takes a given text string can strip a list of symbol characters and HTML tags from it.

The resulting string has its letters lowered the case and returned as UTF-8 text.


Gogole helper

Package:
Gogole helper
Summary:
Perform searches using Google search API
Groups:
Localization, PHP 5, Searching, Web services
Author:
denis
Description:
This class can be used to perform searches using Google search API.

It can send an HTTP request to the Google search Web services API server to perform a search for given keywords.

The class can parse the results and return them in an array.

It can also send a request to the Google translate Web services API to perform the translation of a text between to given languages.

This class can be used for sending search request to google, and get search results.
Also it can be useful for translating text using google translate.


Powered by Gewgley