Archive for the ‘php’ Category

State of the nation: Small Irish Web Development Agencies

Friday, July 4th, 2008

I have spent the last 6 years working for small web development agencies (Commonly places that do both web and print) and they all, and all the places I have delt with as a result have not taken anything on board from PHP5. You could drop them on a PHP4 server and their code would run just as happily. They do not use any of the benifits that PHP5 has given them. About all that has changed is they have lost their reliance on register_globals. Why is this?

(more…)

How do I find the date a week starts given the week number

Wednesday, June 25th, 2008

I came accross this problem recently while developing a time tracking application.

Typically, I have found that when viewing timesheets people prefer to be able to see the week at a glance. For this reason I will normally store them in a database with three int (day (From 1-7), Week (From 1-53) and year (From 0001 to 9999)). This allows me to easilly pull a two dimensional array from the database for output into the virtual timesheet

(more…)