Mark Sanborn Mark Sanborn Fishing Mark Sanborn

Coder, Entrepreneur, Blogger, and Coffee Addict

Tag Archives: Zend Framework

Validating an Email Address With Zend Framework

Posted on by Mark Sanborn

Email addresses are one of trickiest input types to validate because there are multiple ways emails can be written according to the RFC2822 specification. You could have me@gmail.com, or me+spam@gmail.com, or “mark@server”@marksanborn.net, common on Linux/BSD systems. A lot of times … Continue reading

Posted in PHP, Programming, Security | Tagged , | Comments Off

Validating Credit Card Numbers with Zend Framework

Posted on by Mark Sanborn

Ever wonder how websites can tell you made a mistake entering your credit card number before you even submit it? Like most identification numbers credit cards have checksum digits built into them. Just like barcodes. If you ever look at … Continue reading

Posted in Howto, PHP, Programming, Security | Tagged | 6 Comments

© 2011 All rights reserved