Behind the Site »

Zend - The PHP Company



Code Gallery: Top Ten Rated Items

1 Counterstrike

Type: class
Added by: schack
Entered: 21/03/2001
Last modified: 03/12/2000
Rating: ***** (3 votes)
Views: 11940


A class for doing serverstatus-queries against Halflife/Counterstrike servers


2 Validate Zip Code to State

Type: code fragment
Added by: jasonthoma
Entered: 14/08/2002
Last modified: 08/12/2001
Rating: ***** (5 votes)
Views: 13065


Use zip code ranges for each state to perform a basic STATE/ZIP validation. Designed to go one step beyond checking for a valid state code and a numeric zip code. Catches additional data entry error without relying on another web site or maintaining a current CITY/STATE/ZIP database. This code currently serves as a pre-edit to a credit card address verification check. Note: PHP 4 is required to use foreach, but a do-while loop can be substituted to use with PHP 3.


3 AjaxFileUploader

Type: class
Added by: rochak007
Entered: 21/12/2005
Last modified: 02/12/2005
Rating: ***** (3 votes)
Views: 7303


Upload remote file withour refreshing the page. Supports mutliple uploads. Can be embedded any where inside or outside a form/html page.


4 MySQL Date Validation and Convertion

Type: code fragment
Added by: esammons
Entered: 18/09/2001
Last modified: 09/12/2000
Rating: ***** (3 votes)
Views: 16279


Converts a user-entered date field into standard MySQL format. Also checks that the date entered is a valid date. Accepts mm/dd/yyyy, mm-dd-yyyy, yyyy/mm/dd, and yyyy-mm-dd formats.


5 Populate PDF form fields

Type: code fragment
Added by: amikeal
Entered: 04/06/2002
Last modified: 06/12/2001
Rating: ***** (3 votes)
Views: 6806


If you want to use PHP to populate fields in a PDF form (for instance, extracting data from a database and prefilling fields for the user) and you don't have the FDF module available to you for whatever reason, this function should work. Regardless, I think this function is more straightforward to use than the FDF module functions.


6 2-way SMS/EMS/Ringtone/Logo script

Type: application
Added by: simmcomm
Entered: 23/06/2003
Last modified: 09/12/2002
Rating: ***** (3 votes)
Views: 10931


This script allows you to send SMS (also long SMS), EMS, RTTTL-Ringtones, Logos (GIF, JPG, PNG) with automatic image resizing, EMS Pictures with copy protection and autosave feature, Nokia Operator Logos, Nokia Multipart messages and so on. Pictures and Ringtones can be HEX-included or specified to be downloaded from a HTTP-source. You can setup the 2-way service within minutes on TrueSenses.com. Requires NO additional libraries programs or databases.


7 MSD Authentication and page permission

Type: application
Added by: mnirwan
Entered: 13/12/2001
Last modified: 01/12/2001
Rating: ***** (3 votes)
Views: 13984


Authentication and page permission using session variable.


8 A Class for Business and Scientific Graphs

Type: class
Added by: afanzend
Entered: 07/11/2000
Last modified: 01/12/2004
Rating: ***** (15 votes)
Views: 25450


A full graphics class for creating Bar, Line, Area, Pie, and Scientific plots on the fly with PHP3 or PHP4
Supports: TTF, multiple graphs per image,
Full site at http://www.jeo.net/php/phplot/

Afan Ottenheimer



9 Date_Calc

Type: class library
Added by: mohrt
Entered: 17/10/2000
Last modified: 01/12/2000
Rating: ***** (14 votes)
Views: 17832


Date_Calc - a class for manipulating and comparing Calendar dates, as well as formulating arrays of dates for traditional calendar display.


10 CyberClass

Type: class
Added by: Rival7
Entered: 06/04/2000
Last modified: 05/12/2000
Rating: ***** (11 votes)
Views: 24217


CyberClass is an interface to the CyberCash Cash Register Service for online financial transactions (such as credit card processing). This is an adaptation to the origional CyberLib but included is automatic 'merchant_conf' parsing. Check out my article at http://www.phpbuilder.com/columns/nathan20001225.php3


Search