Getting a User's IP Address in PHP

By Josh Sherman
2 min read
development
php

Getting the IP address of a user seems like a pretty trivial task but you can’t always rely on $_SERVER['REMOTE_ADDR']. The super global value is the most reliable source because it is extracted directly from the TCP stack but if you’re behind a load balancer that address would be that […]

Recruiters need to learn to listen

By Josh Sherman
3 min read
career
linkedin

If you’ve ever seen my LinkedIn profile you know that I don’t take my professional life all too seriously and that I also have an underlying disdain for recruiters. Have I been through a recruiting company before to get a job? Absolutely, but I’d never do it again (most likely). […]

PHP Redis Clients

By Josh Sherman
2 min read
development
php
redis

In a previous post I’ve talked about installing phpredis a PHP Extension for Redis that has to be compiled from source. But what if you’re hosting scenario doesn’t allow you to compile extensions? Well you’re in luck, in addition to the extension, there are additional client libraries out there for […]

How to Install Wordpress on Ubuntu 12.04 LTS

By Josh Sherman
2 min read
development
php
wordpress
linux
ubuntu

Let’s be honest, sometimes we don’t necessarily want to start a site from scratch, especially a blog. There’s so many blogging platforms out there, why reinvent the wheel? Arguably the most well known, Wordpress, is very easy to install on Ubuntu 12.04 LTS. First things first, you will need to […]

How to Install the SQLite Module on Ubuntu 12.04 LTS

By Josh Sherman
1 min read
development
php
sqlite
linux
ubuntu

SQLite is a self-contained, serverless, zero-configuration, transactional SQL database engine. The SQLite website also boasts that it is the most widely deployed SQL database engine in the world. As I’ve previously discussed, SQLite has the advantage over MySQL as it can be used as an internal session handler with PHP. […]