Archive for March, 2006

Even the Pros Get It Wrong

A friend brought to my attention that the php.net site was sporting a rather different design:

PHP Fatal Error

Seems someone forgot to make sure all the functions were included. The irony.

1 comment March 23rd, 2006

Phone Numbers: Input, Storage and Formatting

Its quite common these days to input one or more phone numbers. Be it home, work, fax or mobile, everyone's got a number, and you will invariably need to collect that piece of data some time soon.

Looking at some sites, its blatantly obvious that they do nothing to validate the data before it is entered into the database and when it is later retrieved, its printed out the same as it was input. A good thing would be to:

  1. Validate the incoming phone number. Make sure it has enough digits at a minimum
  2. Store the phone number in a format that is easily retrievable and searchable
  3. When displaying this phone number in the future, we should have a standardised pattern of display

6 comments March 11th, 2006

Zend Framework

Zend Framework? Zend? Framework? Common questions to this posts title. First, lets set the landscape. To quote the Zend website:

Zend delivers the premier web application platform products and services for PHP applications.

Zend is the corporation most closely associated to PHP. You most likely haven't heard of Zend before, apart from the Zend Optimizer, but they are the company behind a lot of the driving force in pushing PHP into enterprise locations.

Add comment March 7th, 2006

301 Page Redirects using PHP and .htaccess

During the life of a website, its quite common for pages to move around or to 're-structure' your site's files and folders. However, you can come across issues when people linking to your page go to their 'stale' bookmark of your site, and find that page is missing - in fact, they'll get a '404 Page Not Found'. The same will go for search engines like google and yahoo, and will adversely affect your rankings within their results.

So what do I do?

Continue Reading 4 comments March 7th, 2006


Calendar

March 2006
M T W T F S S
« Feb   Apr »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Posts by Month

Posts by Category