Tag: php

September 21, 2005 / / Directory Management

Redirects are where a link to a site looks like http://www.mysite.com/go/143/ or http://www.mysite.com/goto.php?site=143

These are great for the directory owner because they can track the popularity of a link and capture other statistics. They are, however, almost worthless for the site owner.

September 16, 2005 / / WordPress
July 28, 2005 / / PHP & Web Development

Forgetting for a second that it’s a cardinal sin to set values in $_GET, $_POST or $_REQUEST I’ve found an interesting little thing… or maybe I’m only finding it now because I don’t commit cardinal sins…

One of the first things a PHP coder will bang into is Unix Timestamps and making them usable and readable. I’m currently trying to work with some very simple shell scripts in Unix and now I actually WANT raw timestamps, but noooo, can’t get them. Outrageous.

June 21, 2005 / / PHP & Web Development

This is a Frequently Asked Question for beginners getting to grips with the whole clientside versus serverside programming topic.

  1. Javascript can only run in the browser.
  2. PHP can only run on the webserver.

Something that off-the-shelf scripts tend to neglect is saving your files in a secure location. Not all the files, necessarily. Just the valuable ones with things like your database username and password. The files that really matter.