Recent Blog Comments By Michael Zock

Keep in mind that the library was added in one of the CF9 updates (and was at least somewhat integrated in CF10). If it fails on a CF9 dev machine be sure to check whether it's missing any updates (running the unofficial updater should take care of that).... read more »

Have to agree with David and since the newer versions of CF and Railo have facades for the standard ESAPI methods you can simply run your source through a find&replace once you get rid of any legacy servers.... read more »

If you want to write to a scope outside the thread you'll have to use a backdoor to pass in a reference (just remember ACF's idiotic legacy behaviour of passing arrays by copy instead of by reference): <cfthread action="run" name="LOCAL.myLittleThread" tunnel="#createObje... read more »

BTW: Ben you actually provided an even better example yourself. Files produced by modern versions of MS Office and OpenOffice will also match the magic number for ZIP files because they're just that, renamed ZIP archives containing a ton of XML files and related junk. That's why file type detection... read more »

There will always be a certain level of multiple candidates in certain situations (e.g., MP3s containing ID3 data of different versions or old files from back when DivX and Xvid split into two separate codec projects and the differences were still minor).... read more »

Thanks for the nice summary. You might also want to take a closer look at TrID (or the stand-alone DLL behind it), which does various checks to return the file types with the highest probability: http://mark0.net/soft-trid-e.html... read more »

That's not all. Using <cfhtmlhead> can also bite you in the a$% if at some point you have to use <cfflush> to partially serve large files and one of the "head" calls happens after the "flush".... read more »