The Email Validator library builds upon PHP’s built in filter_var($emailAddress, FILTER_VALIDATE_EMAIL); by adding a default MX record check. It also offers additional validation against disposable email addresses, free email address providers, and a custom banned domain list. … Continue reading
See me featured around the web!
Featured on The Muse. Also see me featured on Billtrust's LinkedIn And Facebook pages.
Going Deeper Into Email Address Validation
We all recognize an email address when we see one. They are comprised of a unique identifier, the @ symbol and a domain name (i.e. example.com). But is it really that simple? Can you tell which of the following email … Continue reading
PHP Simple Encryption
Encryption is a complicated topic and one that, when done incorrectly, could result in sensitive data being exposed to bad actors or lost due to an inability to decrypt that data at a later date. … Continue reading
Handling Authorize.Net’s Webhooks with PHP
On December 1st, 2016, Authorize.Net announced support for Webhooks. What is a Webhook? A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST. A web application implementing WebHooks will POST … Continue reading
Using Reflection for Better Unit Testing in PHP
Accessing private and protected member variables Reflection is often used as part of software testing that requires the runtime creation/instantiation of mock objects. It’s also great for inspecting the state of an object at any given point in time. Here’s an … Continue reading
Tutorial: Integrate All Authorize.Net JSON APIs With One Universal PHP Class (AIM, ARB, CIM, Transaction Details)
Three years ago I published code and an article for integrating the Authorize.Net APIs using PHP. This simplified interacting with Authorize.Net’s APIs by using their common XML interface. But many developers asked for a simpler API, one that used JSON instead of XML … Continue reading
Working With Dates and Times in PHP
Working with Dates and Times prior to PHP 5.2 meant using date(), strtotime(), and other date related functions sometimes in convoluted ways to get to the date(s) you were looking for. Fortunately with PHP 5.2 the DateTime() class were introduced. … Continue reading
Handling Authorize.Net Silent Post with PHP
Handling Authorize.Net Silent Post submissions with PHP, or any language for that matter, is easy. It’s really no different then receiving a form submission. You just need to know to expect. I took care of that in my All About … Continue reading
All About Authorize.Net’s Silent Post
One very common topic at the Authorize.Net developer forums is their Silent Post feature and how it works. In fact, how it works seems to be the most common question by far. For better or worse, Authorize.Net’s documentation seems to … Continue reading