Max J Mammel
Guest Author: Max Mammel
Max Mammel is an Indianapolis-based Technical Lead of a web application development team with a global Fortune 500 firm. Max is an expert in design patterns, system architecture, and object-oriented programming and brings many years of Java know-how to

I suspect that there are nearly as many solutions to the problem of email address validation as there are projects that require them. I’ve seen a fair amount of them myself over the years, they range from simply checking for the presence of an @ in a string to extremely complex and often flawed sub-routines designed for the task. Get a proper script

Many younger developers don’t have an opportunity to use log files, especially in situations where they have installed their web server on their local computer and don’t need to worry about debugging their site on the fly. Learn to use your logs.

Have you seen PHP functions used without parentheses, such as echo or include? That’s because these aren’t really functions. They are a short list of entities called language constructs. See the list of constructs.

Since version 5, you can autoload classes in PHP. Autoloading functionality is part of the SPL (Standard PHP Library), a set of classes and interfaces that are meant to solve standard problems. In this article, I will show you what autoloading is all about and how you can benefit from it. Learn about autoloading.

The difference between PHP functions require and include are simply error handling. See the quick view table here. (more…)

There is certainly no shortage of this topic on the web. Unfortunately for newer developers, there is no way to tell the good advice from the bad. In this article I will show you the wrong way and the right way. See the proper way.

This basic article will show you how to get values out of the URL with PHP. See the code.

If you need to search for and replace text in a database column, MySQL provides a built in method similar to other scripting languages. Get the syntax.

If you are attempting to get a file’s MIME type with your PHP installation for the first time, you may find that the MIME type always shows up as application/x-dpkg.

In this article, I will provide you with a fixed magic.mime file and show you what is happening. Get your mime type fix

The following simple code samples will use PHP regular expressions strip away all characters from a string that are not letters or number. Learn the code.