An introduction to friendly URLs in PHP
Sunday, June 22nd, 2008 Posted in PHP, RegEx | 6 Comments »Nice URLs, readable URLs, search-engine-friendly URLs. Different names same deal. It can't really be disagreed on that something like example.com/index.php?page=article&id=409 is not nearly as nice as example.com/article/409. Turns out this isn't all that hard with PHP - infact it can turn into ...
More fun with IE6
Monday, November 19th, 2007 Posted in Browser Quirks, GD | No Comments »Marks last post reminded me of a little gotcha I came across with IE6. Generally when using GD or any such image manipulation stuff server-side, you usually check the MIME type and do whatever is necessary with whatever file you're given. ...
MS Word characters
Friday, October 19th, 2007 Posted in PHP | No Comments »MS Word sucks. Unfortunatly we gets all our clients thinking it's perfectly okay to copy-paste their text from Word into our carefully crafted admin areas that are supposed to let them add new content. Yeah well, Word uses a bunch of ...
PHP and Perl sharing files
Tuesday, October 9th, 2007 Posted in PHP, Perl | No Comments »I came across an interesting tid-bit today. Although not immediately obvious - Perl and PHP have so much in common syntax wise that you can write basic variable definitions in a single file and they'll be parsed by both. # PHP ...
Welcome to Two’s-Complement
Tuesday, October 9th, 2007 Posted in Blog Stuff | No Comments »I'm Fiona, he's Mark. We live together and write code for a living. After coming back home at the end of the day we'd constantly tell each other of a new tip or "gotcha" that we'd found out during the day, we ...