Hosting PHP with Heroku

In a previous post we have talked about using Heroku as a hosting platform for us. Often times Heroku is used with a Rails app, and most recently it has been used to host Node apps as well. Heroku, however, can also be used for hosting PHP apps. Let us cover how to use Heroku ...

Sending Email with PHP 2

In our last post, we saw how to create the front end form (with some HTML5 spice) that will help us send emails to anyone! What we will be creating is the ability to send emails to anyone from anyone. This could be also known as “email spoofing“. Even though it is really easy to ...

Using XML with PHP 2

Often times, developers will come to a point where they have to use PHP to generate XML. Using PHP to generate XML isn’t exactly the funnest job, but it is a lot better than “hand generating” XML by string¬†concatenation. Note¬†you should never generate XML by string concatenation. It is buggy, prone to mistakes, less maintainable, ...

Connecting to the Flickr API with PHP 15

Today, we will be covering how to connect to the Flickr API with PHP. This will a quick tutorial and we will show you the full code. First we need to sign up for a Flickr API key…I know it’s annoying but that’s just how they roll. To sign up follow this link Once you ...

Installing a Web Server on Ubuntu 5

In the previous blog post we saw how to install Ubuntu on AWS EC2. Today we will see how to install a web server on this Ubuntu instance. Here is a video of me installing all the necessary “stuff” on the Ubuntu instance. Below I’ll cover the install in more detail. Once you have SSH’ed ...

PostgreSQL Part II

PostgreSQL Part II
Last time, I ended up covering the Quickstart part of the Postgres with PHP tutorial on Lynda.com. This was the reason it was so accelerated. I was wondering why this course was just throwing me into files with tons of PHP code without explaining each step from the beginning. The following sections in the tutorial ...

PostgreSQL Part I

PostgreSQL Part I
Today we will be looking at PostgreSQL with PHP tutorial on Lynda.com. I’ll be writing this post while learning the material so this post may seem like a set of notes. You can download PostgreSQL from here. Remember to run the executable as an administrator. The first few sections teach us mostly about how to ...

Setting up a PHP Environment

Setting up a PHP Environment
One of the hardest parts of learning a new language is getting the proper environment set up for it. Learning Python on Udacity was easy because they had a web based application that could interpret Python for you. All you needed was a modern day browser. Learning jQuery was also fairly easy. This time all ...