Scroll to top

Extract z01 files on Mac OS X – howto

The Unarchiver icon

The first of multiple files that make up a split archive created with WinZip; uses the same compression as a standard .ZIP file, but must be decompressed along with the related split archives (.Z02, .Z03, etc.). Split archives are often used to shrink the size of large files for e-mail attachments or file downloads. They [...]

Read more

Increase PHP file upload limit

I tried uploading a large file from Flash to php back end and got the following error: PHP Warning: POST Content-Length of 18348279 bytes exceeds the limit of 8388608 bytes It’s self explanatory, my PHP installation by default only allows up to 8MB of data to be uploaded to the server. To solve this you [...]

Read more

Load files from Amazon S3 into Flash using AS3 Bulk Loader

I had a go at loading some assets from Amazon S3 with AS3 bulk loader and ran into trouble. Generally I specify loader context when I load files from external source, but I thought Bulk Loader handled it all internally.  After browsing the source code I found out that you can pass the LoaderContext into [...]

Read more

MySQL REPLACE statement with dynamic variables

I just wrote a little mysql snippet that will replace all instances of ‘domain1′ to ‘domain2′ in a given table and column. So why not share it.  All you need to do is set the variable values in first 4 lines of code below: SET @tblname = “tablename”; SET @colname = “columnname”; SET @lookfor = [...]

Read more

Unzip files with ColdFusion MX 7 using native Java classes

This week I had to unzip some files using ColdFusion 7 (I know it’s ancient technology) and I realised that CF7 doesn’t natively support zipping/unzipping of files!  Fortunately, ColdFusion can utilise the underlying power of Java to achieve this.  I found this neat Java article – Unzipping Files with java.util.zip.ZipFile and simply translated it into [...]

Read more