Algorithms Arrays Passwords Uncategorized
Commerce Uncategorized
Databases Abstraction Layers Informix LDAP MS SQL MySQL ODBC PostgreSQL Uncategorized
Date & Time Calculators Conversion Translation Uncategorized
Discussion Chat Forums Guestbooks Polls Uncategorized
Email Validation Uncategorized
External Uncategorized
Files and Directories Uncategorized
Games Uncategorized
Graphics 3-D Graphs Resizing Thumbnails Uncategorized
HTML Forms Menus & Navigation Source Viewers Tables Templates Uncategorized
HTTP Authentication Cookies File Uploading Uncategorized
I18N Uncategorized
Math Uncategorized
Miscellaneous Uncategorized
Searching and Trees Uncategorized
Security Uncategorized
Text Uncategorized
Utilities Calendars Counters Link Checkers Weather Uncategorized
XML Uncategorized
| php sample source codes |
|---|
|
This code will help you to make those "Customers who bought this item also bought..." lists
|
|
This function validates the supplied ABA number using a simple mod 10 check digit routine.
|
|
provides a normal search interface to Amazon, which works at 5% fees, and takes the results and turns them into "individually linked books"which should earn 15% but does so while preserving the look and feel of amazon.
|
|
This is a class used to interface to authorize.net. It is just a small class to ease the process of constructing the fields string being passed in an HTTPS POST via CURL and returning the response in an array. It also has two handy functions to dump the data to a neat table for debugging purposes.
|
|
An easy to use script to help those who are having difficulty with Authorize.net's AIM method.
|
|
An easy to use script to help those who are having difficulty with Authorize.net's AIM method. (New version allows use of all Authorize.net's returned information)
|
|
A class to interface with the authorize.net merchant account company.
Supports credit cards or checks.
|
|
This is an update to a class already in the code library. It is updated to handle Auth.net's v3.1 AIM Transactions.
|
|
This function accepts a credit card number and, optionally, a code for a credit card name. If a Name code is specified, the number is checked against card-specific criteria, then validated with the Luhn Mod 10 formula. Otherwise it is only checked against the formula. It can be used for Visa, Mastercard, Amex, Discover, Diners Club and JCB
|
|
The credit_card class provides methods for cleaning, validating and identifying the type of credit card numbers.<br /><br />
<b>Methods include:</b><br />
<tt> identify()</tt> - Find the type of credit card (Mastercard, Visa, etc...) based on the card number.<br />
The method can identify 8 different card types, including Amex, Mastercard and Visa<br /><br />
<tt> validate()</tt> - Validate a number using the LUHN (mod 10) algorithm.<br /><br />
<tt> check()</tt> - Validate and identify a credit card number.<br /><br />
<tt> clean_no()</tt> - Strip all non-numeric characters from the passed value and return an integer.
|
|
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
|
|
You know those stupid little things you come accross after years in the profession, that make you say "Golly, if I'd just known that 3 or 4 years ago, it would have saved a ton of work!" This is one of them.
|
|
export data to all the xml type formats recognized by the money programs out there. MSMoney, Quicken, CSV etc.
The code is really designed for financial data obviously. It is in use in the IPN system I developed for working with Paypal. See the example URL and go into the test account and look in the history to see a live example. Any comments would be appreciated.
|
|
This class allows for processing of Credit Cards with the merchant provider GoEmerchnt.com. It requires you have CURL installed. It has a debug mode so you can test it first without sending lots of bogus transactions to their server.
|
|
this is a very simple function that performs a mod 10 on a credit card number. this function is not meant to be a complete solution, I only wanted to show how the mod 10 portion of a credit card validation function could be done quickly and efficiently.
|
|
When working with realtime credit card billing systems, e.g. Wire Card C3 you need to convert prices to cent values.
Example:
"9.99" $ must be "999"
or
"123.10" must be "12310"
So here ist the method for doing a simple conversion:
|
|
I messed around with the <a href="http://www.zend.com/codex.php?id=66&single=1">stock quote retrieval</a> class, and made the get() function in it to get multiple quotes rather than just a single one.
<a href="http://nd.wiktor.dk/other/sq01.php">Example here</a>
|
|
A function that takes a number and spells it out in English.
|
|
A Verisign pfpro class for managing credit card transactions through Verisign.
Includes ability to do AVS checks and add order comments.
|
|
This file provides a neat and simple method to interface with paypal and the paypal Instant Payment Notification (IPN) interface. It is designed to be an aid, and therefore provide the developer with complete control. I've also included a demonstration file in the zip, called paypal.php, which shows how to use the class.
This class handles the submission of an order to paypal aswell as the processing an Instant Payment Notification (IPN). Including the demonstration file, the entire "paypal system" consists of just 2 PHP scripts. Once is the class and one implements the class.
|
|
This was based on a shopping cart by Ethan Schroeder. You can still find the original on px.sklar.com (thanks Bill)
|
|
This function returns the price to send a standard Priority Mail package from one zip code to another zip code, based on weight. No USPS-issued username or password is required. Safety feature. Error repression.
|
|
Updated 9-24-01: ECHO-PHP Class is now available. ECHO-PHP Class drives all types of real-time credit card and check transactions using ECHO merchant processing s free secure payment gateway and open-source real-time software. Supports system check, address verification, authorization and deposit, deposit, credit, commercial card, electronic check debit, and more. The new ECHO-PHP Class makes it easier than ever to connect to ECHO using this popular server-side, cross-platform, HTML embedded scripting language. Ideal for all commerce applications. Perfect for ISP/IPPs to use for billing their clients, since this supports electronic checks as well.
|