Monthly Archiv: March, 2010

Array 2 XML OO

Package:
Array 2 XML OO
Summary:
Generate a XML document from array values
Groups:
PHP 5, XML
Author:
Mustafa TURAN
Description:
This class can be used to generate a XML document from array values.

It traverses a given array recursively to get the values that are used to define the tags and data of the XML document.

The generated XML document is served as the current script output.


Image Processor (CSS)

Screen
Package:
Image Processor (CSS)
Summary:
Draw images defined with CSS like properties
Groups:
Graphics, PHP 5
Author:
Tufan Baris YILDIRIM
Description:
This class can be used to draw images defined with CSS like properties.

It can create an empty image or open and existing image from a file.

The class can draw different types of primitives using CSS like style strings to define the parameters of those primitives.

Currently it can draw text strings, other images like watermarks, lines, rectangles, circles, ellipses, etc..

The generated image can also be cropped and resized before it is saved to a file.


Zodiac Signs

Updated from the "Zodiac Signs" function already posted here. The other function had some overlapping month/day areas that would determine some birthdate/sign combinations incorrectly. (ie: 10/27 as Libra instead of Scorpio.)

Calculate Central European Summer Time (CEST)

Countries of the European Union add an hour to the time during summer to better seize sunlight, so for several months GMT 0 becomes GMT +1, GMT+1 becomes GMT-2 and so on. This is known as Central European Summer Time (CEST). This script takes a Unix timestamp and adds an hour to it (3600 seconds) if we are in this summer period.

OddEven Class

Allows you to easily keep track of a series of items as either odd or even. Each time you check (using the "which" method) the counter increments so that the next time you check the state will have changed. This is the perfect class for using when you're outputting an HTML table and want to use different classes to differentiate between odd and even rows. Simply create a new instance and call OddEven->which() for each row!

Query Build Exec

Package:
Query Build Exec
Summary:
Build and execute MySQL queries from bean objects
Groups:
Databases, PHP 5
Author:
Hussam Abd El Razek El Kurd
Description:
This package can be used to Build and execute MySQL database queries from bean objects.

It can take an object from a bean class and use PHP reflection to extract the object variable values in order to compose and execute SQL INSERT, UPDATE and DELETE queries on a given MySQL database.


MPO Extractor

Package:
MPO Extractor
Summary:
Extract images from Fuji MPO files
Groups:
Files and Folders, Graphics, PHP 5
Author:
Mihai Scurtu
Description:
This class can be used to extract images from Fuji MPO files.

It can parse a given MPO file and extract the JPEG images that are contained in it.

The extracted images can be returned as strings, GD image resources, or be stored in other files with the same base file name as the original, but appended of the image number and the .jpg extension.


[Free] New Content Management System: Create/Manage Your Website From Your Web Browser

Looking for a way to create and update your website simply from your web browser, without having to learn a web editor? Check out the Free Content Management Systems (CMS) PHP Scripts, where yet another web-based software has just been added. This one is fairly new on the scene and even allows you to do page level customisations ("customizations"), where different pages can have different layouts (if you need that sort of thing).

MySQL & Session

Package:
MySQL & Session
Summary:
Store and retrieve PHP session data in MySQL table
Groups:
Databases, PHP 5, User Management
Author:
sudhir vishwakarma
Description:
This class can be used to store and retrieve PHP session data in an MySQL table.

It is an handler class that provides an interface for replacing the default session storage handler.

The class stores session data in a MySQL database table named sessions.


Powered by Gewgley