Even though I’ve been developing with PHP for a number of years, I still enjoy discovering new ways of working. Even though the stdClass object is about as basic as you can get, it’s never struck me as being a worthwhile tool. (more…)
Archive for September, 2009
Avoiding temporary array assignment in PHP
Thursday, September 3rd, 2009MySQL Replication and disappearing relay logs
Thursday, September 3rd, 2009A recent reboot of a server highlighted an issue with MySQL 5.045 on CentOS 5.3. On this particular setup, MySQL seems to place relay logs in /var/run/mysqld/. Unfortunately, this will mean that when the machine is rebooted, the relay log will get deleted. (more…)