Blaine Ehrhart's Lastest Blogs

Basic Template System in PHP

Posted on September 6th 2009 6:13pm Sunday, by Blaine

When developing a basic PHP template system I attach 3 layout files to my content file. The three layout files are html.php, head.php, and foot.php. For this example I am going to be creating a “downloads.php” page and attach the layout files using PHP includes. I teach how PHP includes work in my blog as [...]

How PHP Includes Work

Posted on September 6th 2009 6:04pm Sunday, by Blaine

A PHP include allows you to append a file inside of another file. For example, if I had a file called hello-world.php I could attach goodbye-world.php to the end of hello-world.php

Firefox Website Development Tools

Posted on August 18th 2009 11:46pm Tuesday, by Blaine

I use Firefox and many extensions everyday to help speed up the development process. These extensions are tools for web developers and they help me provide my clients with high quality development that would be costly if these tools did not exist. To see the list, click read more!

The Gamerz Funk

Posted on May 31st 2009 5:39am Sunday, by Blaine

Gamerz Funk is a Utah Gaming Cafe. I coded the website, and edited small parts of the design. I also created the logo for the company.

cPanel is a (SEO) developers nightmare

Posted on May 28th 2009 9:55am Thursday, by Blaine

A few weeks back I ran into a problem on a clients cPanel account where there could be SEO issues. The problem is that when you are creating an add-on domain cPanel creates a sub domain of the main domain as well. There is a way to fix this through a htaccess rewrite. What were they thinking when they built it this way? Also, If you are doing a domain to domain redirect in cpanel this is where the problem is the worst.