If you’re using Amazon S3 in PHP (whether you are using the neurofuzzy s3 class or your own solution) it is a good idea to make sure you can access the service before you attempt any operations on it. If for some reason your site cannot access S3, it’s possible your server could get seriously bogged down or even crash if you aren’t careful.
read more »
Christopher Shepherd has created an s3 backup solution using my PHP S3 Class. He’s created 3 classes. S3_Backup will recursively backup an entire directory tree to an S3 bucket, while saving permissions, ownership, and modification times in the S3 metadata fields, S3_Restore will restore a backup made with S3_Backup and S3_Prune will recursively prune data stored in an S3 bucket. Very cool.
I’ve made some small updates to my Amazon S3 PHP Class. It now supports the prefix, max-keys, delimeter, and marker parameters for listing objects in buckets. I still need to add the delimeter parameter. The main reason I am posting is because I’ve gotten word that some people are experiencing Signature Match errors when authenticating requests. It’s probably just a parameter ordering problem, but I am unable to replicate the error. If anyone has experienced this problem, please post a comment here. If anyone found a fix, please let me know!
read more »
I posted recently about image file uploads to PHP, and how they would fail in Safari. It was a nasty bug that wouldn’t go away, but I finally discovered the problem. On my upload form, I was using javascript and CSS to hide the form fields and replace them with an “Uploading files…” prompt. It seems that there’s a bug in Safari where hidden forms will contain no values. So, in hiding my form, nothing was being sent to my site!
read more »
I have packaged a simple version of my treemap algorithm, along with example usage, CSS, and images for those who are interested. I really had a lot of fun with this. I used in on an aggregator site called roomformilk, and elsewhere. I’m also using it as a backend admin tool on a site of mine to see what users are using how much bandwidth.
read more »