Codebase updates

Ben has recently published some code for routing requests to the correct controllers and views in a PHP MVC framework, so I've spent some of my weekend integrating it into my codebase (yep, this is the sort of thing I do on weekends).

Mapping URLs to site functionality has always seemed quite clumsy in my projects to date; Ben's solution has quite a Rails feel to it and is definitely the most elegant method I have encountered to date.

Tagged , , and .

Uploading files with ActionScript 2.0 & PHP

If you have to write some server side code (such as PHP) to receive a file being uploaded through HTTP POST from ActionScript 2.0 (such as in Flash 8 - here is a good tutorial) - the $_FILES['Filedata'] variable which PHP can access is something defined in the Flash internals - not something a Flash developer sets.

Hopefully this will save some PHP and Flash developers a few hours of headache.

Tagged , , and .

Most used blog post tags

Blog entries by month

  1. January 2012 (1)
  2. August 2011 (2)
  3. March 2011 (1)
  4. February 2011 (1)
  5. November 2010 (1)
  6. October 2010 (1)
  7. August 2010 (2)
  8. January 2009 (1)
  9. December 2008 (1)
  10. November 2008 (1)
  11. October 2008 (2)
  12. September 2008 (3)