Posts tagged as php.

Posts are listed in reverse chronological order, newest to oldest.


  • The Not-So-Great PHP/MySQL Tutorial, Part 2

    So, assuming you read (and completed) Part 1, you should have a functional database connection script and an input page. Part 2 will cover how we get our data back out of the database.

  • The Not-So-Great PHP/MySQL Tutorial, Part 1

    Ok, so let's assume you've been given a simple task. You need to be able to record some basic data about some theoretical employees, and then produce some basic output. Let's cover a few rules first.

  • PHP Referrer Snippet

    This is a small chunk of code I use as part of my login script:

  • Pretty URLs For Everyone!

    Have you ever visited a website, and wondered how the person managing it is able to have their pages display without having the file extension on every page? I used to. Turns out, it's not so hard to get what is commonly referred to as "pretty URLs." It's as simple as adding a few lines of text to a special file most people have on their host servers: the .htaccess file.

  • Why Sherlock Holmes Would Have Made A Kick-Ass Programmer

    One of the few quotes I know from the world of Sir Arthur Conan Doyle's Sherlock Holmes goes something like this: "When you are trying to solve what appears to be a mystery, eliminate the obvious first. Whatever is left, no matter how extraordinary, is the answer..."

  • Tutorial One: HTML >> PHP

    Welcome! For those of you stumbling onto this page, this is the first in a series of articles where I walk through creating a simple website for a fictional friend of mine. We will start with the complete HTML source for the index page, and then analyze it to determine which parts can be repeated in our other pages. Then, we will create a dynamically-generated PHP index page from the original HTML source.

  • Obsession of the moment: M-V-C

    I am, above all other things, a programmer. I'm one of those guys that stay up late writing code, reading technical reference manuals, and drooling over case tools. So I suppose it comes as no surprise that my newest obsession focuses on a tantalizing new PHP framework a friend of mine recently turned me on to, CodeIgniter.