masthead image
PHP programming language

Serving Images Outside Document Root Via PHP

Wednesday April 28 2010, 03:07 AM

Looking to serve up images outside your document root? This article will discuss how to do this with Apache and PHP.

Suppose you are building a voting booth application. One of the things you want to avoid is letting a user vote multiple times to skew results. How do you prevent this from happening?

How To Setup A WAMP Development Environment

Tuesday January 13 2009, 09:48 PM

This article will discuss in detail how to setup a local Windows Apache, MySQL, and PHP (WAMP) development environment.

Having problems with installing the PHP Windows version and Mysql? No doubt it can be a frustrating experience, especially if you are new to PHP, Mysql, and Apache. Here are some common problems and solutions that I have run into over the years.

Roll Your Own PHP Template Engine

Friday November 14 2008, 09:19 PM

This article will show how to roll your own trivial template engine in PHP. It will show how to clearly separate presentation from code keeping both developer and designer out of each others' way.

Social Bookmarks

Wednesday November 12 2008, 07:59 PM

Do you want to drive more traffic to your Drupal website? This is a Drupal PHP snippet that will generate social bookmarking links for your blog nodes. It builds a list of social bookmarks for the current blog node. Use this as part of your custom Drupal theme by inserting this into node-blog.tpl.php file.