PHP Scripts

Rating System

Rating System

Please see the live preview for better viewing What is this? Enclosed is a complete rating system with 3 different user interface styles. It makes it simple to add new ratings and show to your users what the current score of the item is. What is included? Included is the following PHP Example Pages (Fully Documented) PHP Class (Rating, Fully Documented) Cascading Style Sheets Full Documentation (PDF) Updates Version 1.1...

Ajax Store Locator

Ajax Store Locator

A fully featured Ajax Store Locator that uses Google Maps to find the nearest Store given an address or postcode. Has a password protected admin panel that is used to list all Stores in the database and the ability to add/edit/delete Stores. Updated v2.01 (06/04/11) A few minor bugfixes: Accented characters now work Initial SQL URL now 255 characters not 25 People upgrading just need to copy over the /includes/common.inc.php file If you ...

Twitter UserInfo Signature

Twitter UserInfo Signature

This script creates a signature using your data from twitter. The script shows: twitter username. twitter status. number of followers. number of followings. you can add custom “powered by” text. Signature is created on the fly: No needed extra space to host the images. Signature information always updated. The package includes the script, a sample form, CSS file, base image (PNG format), layered base image (GIMP XCF Forma...

Registry Class

Registry Class

Description This script is meant to store and retrieve variables in a central place. The values can be stored in three ways. Temp: Variables are accessible withing one script execution (like normal variables). Session: Variables that are accessible from all the pages for one user (saved in session). Application: Variables are accesible for all users from all pages (saved in file). This way you have all your variables in one place and ha...

Version Checker

Version Checker

Version: 1.2 A simple script that lets you know whether your version of a product is up to date by looking at the string given in the URL . This script is designed to be simple, easy to use and light-weight. In your program somewhere (the program doesn’t need to be web-based at all) you place a link to this script with the current version on your host: http://www.yoursite.com/product/version.php?v=1.5.3 The idea is you simple drag and d...

Client Directory Enforcer - Easy htaccess/htpasswd

Client Directory Enforcer - Easy htaccess/htpasswd

Clients Demo Enforcer is an admin interface that lets you manage folders protected with htacess. htaccess/htpasswd combo is a powerful combination to to protect entire folders with a single file. Sadly htaccess creation and configuration is not one of the easiest task, and even once mastered it can be difficult to track and manage. CDE will make the managment of htacces a real breeze. CDE is aimed toward protecting directory to show your work...

PHP Pagination Class

PHP Pagination Class

The PHP Pagination Class is a pagination class that’s super modular. It can be implemented with any PHP supported database engine, it’s very easy to customize and implement, supports two displays by default, has multicolor design schemes, and more. The PHP Pagination Class implements with any setup with ease and blends well anywhere and everywhere in your site. The HTML-strict template the class is coupled with provides direct customization...

Data Validation class

Data Validation class

The key to a stable and secure application or website is data validation. Validating things like email addresses, numbers, and other data can be very time consuming and add a lot of extra lines of code to your website if you want to do it the right way. This class can make the data validation part of website development a lot easier. This class is very easy to use. Because all the methods are static they are faster and callable without insta...

Website translation Class

Website translation Class

The Google translation API is deprecated and is from now on only available as a paid service. So from this moment you can only use this script for manual translations. Sorry for the inconvenience! This script can be used to make a multilingual websites. It has the unique feature of automatic translating untranslated strings with Google translator. If the translation is not 100% correct you can manually change the translation in the CSV langu...

Ajax Tables

Ajax Tables

This script is the ajax version of our Advanced tables script. The result is that this script can work with much more data. It even can handle a database with more than 300,000 records. Updates 21/2/2010: Fixed json_encode problem for PHP versions smaller than 5.3 Fixed wrong source reference in Example script Added feature to only search in specific columns (see PDF documentation page 6 “searchColumns” parameter) Fixed last row search ...