Archive for PHP

Ajax Rating Counter :: AJAX based star rating system

// February 7th, 2012 // No Comments » // PHP

This package can be used to implement a star rating system that uses AJAX to update the average rate without reloading the rate page after a user has voted.  It can display the current average rating between 1 to 10 using star icon images.
A new rating submitted by an user is sent to the server using an AJAX request. The server returns the updated rating average and the star icon images change to the new rating value.

Download:

http://www.phpclasses.org/browse/package/2838.html

Compare Files :: Compare two text files and show different lines

// February 7th, 2012 // No Comments » // PHP

This class can compare two text files, like for instance PHP, HTML, ASP, to determine which lines are different.
It can also highlight the differences displaying the files in inline frames.

Download:

http://www.phpclasses.org/browse/package/2365.html

Automatic Archive Creator :: Take backup of files by copying to other directory

// February 7th, 2012 // No Comments » // PHP

This class can create backup copies of files in a given directory by copying the files to another directory. The origin directory to take the backup is traversed recursively.
The class can copy only the files changed after a given date to minimize the time that the process will take after the first backup.

Download:

http://www.phpclasses.org/browse/package/2285.html

Create Sitemap :: Generate of map of the files of a directory in XML

// February 7th, 2012 // No Comments » // PHP

This class can be used to generate XML file with the map of the files from a directory.
It traverses a given directory recursively and generate nested XML document that lists the names of all files and sub-directories contained in the input directory.

Download:

http://www.phpclasses.org/browse/package/2619.html

Stop SOPA