Monthly Archiv: July, 2010

FlatPress

FlatPress is an open-source standard-compliant multi-lingual extensible blogging engine which does not require a DataBase Management System to work. You don’t need MySQL because FlatPress stores all of its content on text files. All you need is some web space supporting PHP4 (or later). Features * Standard-compliant (XHTML valid) * Plugin support * Widget system * Easy to customize with themes (powered by Smarty)

Text Parse

Package:
Text Parse
Summary:
Get statistics and beautify text strings
Groups:
PHP 5, Statistics, Text processing
Author:
Kai Ming Choi
Description:
This class can be used to get statistics and beautify text strings.

It can analyze a given text string and get the total length, the number of non-whitespace characters, number of letters, number of spaces and tabs, number of symbol characters, number of words and number of sentences.

The class can also beautify the text by removing exceeding spaces, punctuation and line breaks.


Advanced file upload and ajax upload

Package:
Advanced file upload and ajax upload
Summary:
Validate and process file uploads
Groups:
Files and Folders, HTTP
Author:
Selman TUNÇ
Description:
This class can be used to validate and process file uploads.

It can check if the uploaded files have one of the allowed file name extensions and MIME types, and does not exceed the allowed file limits.

Image files are opened to verify they really contain image data of the determined format.

The class can move the uploaded files to a given directory if it exists and has write permissions.

The idiom of the error messages is configurable from a list of supported idioms.


Simple CSV Reader

Package:
Simple CSV Reader
Summary:
Read and sort CSV file data into array
Groups:
Files and Folders, PHP 5
Author:
Enio Borges Ribeiro
Description:
This class can be used to read and sort CSV file data into array.

It can open a CSV file and read its data into a bidimensional array.

The retrieved data array can also be sorted.

In Portuguese:

Uma classe simples para a conversão de arquivos CSV para array.

Os arquivos CSV devem conter os cabeçalhos.


Fast Curl

Package:
Fast Curl
Summary:
Send HTTP requests using Curl extension
Groups:
HTTP, PHP 5
Author:
Antonio López Vivar
Description:
This package can be used to send HTTP requests using Curl extension.

There are two classes: one for sending regular HTTP requests and another to send multiple parallel requests.

Both classes can send HTTP requests directly or via proxy, securely using SSL or not, setting the referrer URL, cookies, custom headers, etc...

Constructor will initialize curl handle with most common values althought you can set custom values like url, referrer, proxy, exec_mode, cookies, custom_headers, timeout and ssl. (By default you can use HTTP/HTTPS with need of caring about keys, certs, etc...)

Apart from constructor, EVERY CURLOPT can be set with a simple assignment instead of using curl_setopt() or any "obscure" method.

For instance:

$fc->url = 'http://phpclasses.org';

and retrieved like this:

$url = $fc->url;

There are two methods to execute requests:

exec(...) -> It returns a FRESH response.

fetch(...) -> It returns LAST response. (You can use a regex pattern to parse response).

FastCurlMulti is a container of FastCurl objects. Use it to make parallel requests.

For instance:

$fcm = new FastCurlMulti();
$fcm->add($fc1);
$fcm->add($fc2);
$fcm->exec();

Destructors will free any thing that has to be free. Do not worry.


DOC HERE -> http://tonikelope.es/fastcurl/doc/

DOWNLOAD HERE -> http://tonikelope.es/fastcurl/


Expire Class

Package:
Expire Class
Summary:
Generate an encrypted code that expires after time
Groups:
Cryptography, PHP 5, Time and Date
Author:
Kai Ming Choi
Description:
This class can be used to generate an encrypted code that expires after time.

It can generate a random code that includes an expiry time. The generated code is encrypted.

The class can also decrypt the generated code and verify it has not yet expired.


D3Css

Package:
D3Css
Summary:
Evaluate CSS styles with inheritance support
Groups:
PHP 5, Text processing
Author:
Tufan Baris YILDIRIM
Description:
This class can be used to evaluate CSS styles with inheritance support.

It takes a CSS file with special style inheritance syntax and generates a new CSS that evaluates the inherited styles based on the parent class definitions.

The resulting CSS may be cached in server files and be served in compressed format.


Image Edit Class

Package:
Image Edit Class
Summary:
Manipulate GIF, JPEG and PNG images
Groups:
Graphics, PHP 5
Author:
Kai Ming Choi
Description:
This class can be used to manipulate GIF, JPEG and PNG images.

It can load an image in GIF, JPEG and PNG formats and perform several types of operations.

Currently it can resize the image, render a text on the image, render a watermark image and apply several types of effects like blur, edge detection, sharpen, emboss, etc..

The resulting image can be saved to a file or displayed as the current script output also in GIF, PNG and JPEG formats.


Redirection Detector

Package:
Redirection Detector
Summary:
Check and retrieve the redirection URL of a page
Groups:
HTML, HTTP, PHP 5
Author:
Jarek
Description:
This class can be used to check and retrieve the redirection URL of a page.

It can check if accessing a given page redirects the browser to another page, either via response headers or meta tags.

The class returns the redirection URL if the browser would be redirected to another page.


Powered by Gewgley