Zend - The PHP Company




Code Gallery: Darguz


CCVal  

Type: code fragment
Added by: Darguz
Entered: 14/03/2000
Last modified: 08/12/1999
Rating: **** (19 votes)
Views: 13935
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


MailVal  

Type: code fragment
Added by: Darguz
Entered: 18/03/2000
Last modified: 08/12/1999
Rating: **** (60 votes)
Views: 32005
A function to validate email addresses


Phorm Jr.  

Type: application
Added by: Darguz
Entered: 15/03/2000
Last modified: 03/12/2001
Rating: ***** (5 votes)
Views: 21942
Form processing program. A trimmed-down version of the popular Phorm script, Phorm Jr. has just email, acknowledgement and text log capabilities, but with the same security and error-handling features of its big brother.


PostIt  

Type: code fragment
Added by: Darguz
Entered: 13/03/2000
Last modified: 02/12/2000
Rating: **** (6 votes)
Views: 11559
Let your PHP script pretend to be an HTML form! This function takes an associative array and a URL. The array is URL-encoded and then POSTed to the URL in HTTP 1.1 format.




Search