Checking your IMAP email using PHP

By Josh Sherman
1 min read
development
php
email

I have an upcoming freelance project coming up that includes checking an IMAP email account as well as working with XML in PHP. Let’s talk about connecting to an IMAP account in PHP, don’t worry, I’ll discuss parsing XML next week ;) For the sake of example, we’re going to […]

Android Pros and Cons after 2 years with an iPhone

By Josh Sherman
7 min read
reviews
google
android
apple
iphone

I recently discussed migrating to cross-platform apps in an attempt to break away from the Apple Ecosystem which was a precursor to me swapping my iPhone 4S for a Nexus 5. Now it’s time to talk about the pros and cons that I ran into by making the move. PRO: […]

How to calculate Mother's Day and Father's Day with PHP

By Josh Sherman
1 min read
development
php

A little late on the Mother’s Day part, but since today is Father’s Day, I figured it would be fun to discuss how to obtain the dates for these moving holidays. To do so, all we need to use is use strtotime and tell it when the holiday will occur […]

The receiving end of a DDoS Attack

By Josh Sherman
3 min read
development
hosting
hivelocity

This post was supposed to be a discussion of my migration back to Android from iOS but direction changed yesterday morning. At 9:30 am I found myself in the middle of a DDoS attack that was affecting the rack my server lives on. My sites slowed to a crawl and […]

How to pipeline with phpredis

By Josh Sherman
3 min read
development
php
redis

Have you ever run into a scenario where you have to loop through a set of data and perform database queries for each iteration? Obviously we shouldn’t run them one by one, so we end up using a TRANSACTION or even just building out one large query in the case […]