Blog

Specifying a User Agent when using file_get_contents() in PHP

I recently encountered a scenario where one of my site's login system stopped working. The piece of code that stopped working was the third-party login that leveraged GitHub for the authentication. It was one of those "it worked yesterday" moments [...]

LESS Icons for easy styling and customization

Got a new project I wanted to share with everyone, it's called icons.less (or LESS Icons) and it's available for immediate forking and use over at GitHub. The project itself stemmed from my own desire to have a set of [...]

How to Setup a LEMP Stack on Ubuntu 12.04 LTS

Don't get me wrong, there's nothing wrong with a good ol' LAMP stack (Linux, Apache, MySQL and PHP) but in my experience, Apache doesn't necessarily scale all that well with PHP. It's really not Apache's fault, the fact is that [...]

Command-Line PHP

PHP is a powerful scripting language but did you know it can be used from the command-line as well? Using PHP from the CLI has many applications from checking what version of PHP is installed to being able to execute [...]

Browser redirect with PHP

Within nearly every web site or application there is a need to redirect a user to another page. Perhaps you want to route them to a login page when they aren't authenticated or maybe because a page moved and you [...]

How to Setup a LAMP Stack on Ubuntu 12.04 LTS

It seemed fitting that the first post on PHP Avenue should be about setting up a new server with PHP. This particular post will focus on a traditional LAMP stack (Linux, Apache, MySQL, PHP) on Ubuntu 12.04 LTS. I also [...]

How I schedule my time

Being my own boss has some definitely advantages, like being able to take a beach day on a whim or go to watch one of my daughter's dance classes. The unfortunate side of that is that you still have to [...]

Advice on Freelancing

A friend of mine recently asked me for some advice in regard to a freelancing project he was in the quoting phase of. I figured, what a great topic for a blog post! Keep in mind though, I haven't freelanced [...]

Don't be surprised by success

A trio of guys recently started to get into a space that I already have sites in. Their browser extension is called Babblr and it falls into the same realm as TumbleChat which is my chat site that uses Tumblr [...]

Linode NextGen vs. DigitalOcean

A lot has happened since February when I originally blogged about Linode and DigitalOcean. First and foremost, Linode has finished rolling out their "NextGen" platform in all of it's glory. Linode also experienced a break in to their manager that [...]