Archives // Web Development

Email2Image – PHP Library to Convert an Email Address to Image

September 19, 2012 // Programming, Web Development // No Comments

Email2Image is a PHP library that I wrote to securely convert email addresses to PNG images. The project is hosted on GitHub here: https://github.com/jesseforrest/Email2Image This basic example will show how to select the font to be used and output an…

Setup a Production CentOS LAMP Web Server

August 26, 2012 // Web Development // One Comment

Overview This article explains how to configure a production web server with CentOS Linux, Apache, MySQL, and PHP.  It will also explain how to harden the system to protect from typical intrusions.  All steps are required unless otherwise stated as…

Firefox Extensions You Need For Web Development

April 5, 2010 // Web Development // 2 Comments

When it comes to Firefox, these are my top 5 favorite extensions that aid in development: ColorZilla – An advanced eyedropper, color picker, and page zoomer Html Validator – Adds HTML validation to the View Page Source window. Split Browser…

robots.txt vs meta tag. Which has precedence?

March 28, 2010 // Programming, Web Development // 3 Comments

Question: If you have a robots.txt file and a meta tag within an HTML web page, that contradict each other, which has precedence? Answer: If there is a conflict between the directive in robots.txt and the meta tag directive (e.g.…

How to stop people from viewing directory content on an Apache web server

March 28, 2010 // Web Development // No Comments

Let’s say you have the following files in your root directory: /public_html/ – FileA.txt – FileB.jpg – FileC.doc By default, Apache will look for an index.htm or index.php to serve the the user if they navigated to: http://www.example.com/ If those…

Setting up a Test Bench Web Server With Apache, PHP, MySQL, and More on Windows

March 27, 2010 // Web Development // 40 Comments

Create a Website Directory This is the directory in which your websites will be stored. Create the main directory (“C:/websites”) Create a subdirectory for each website (“C:/websites/example”) Create a subdirectory for the live website content (“C:/websites/example/online”) Install Apache Go to…