Hello, I’m a web craftsman with a passion for the modern web. I build web applications and play with social services and communities.

June 22, 2009 at 3:42 pm

iPhone 3G S

iPhone 3GS

I’ve been waiting 2 years for this. And now it was time. Unlocked goodness so I can freely travel. As with all Apple product it’s good to wait for the 3rd product generation. Most of the features that make my life much easier, such as CalDAV and LDAP support, were just coming with the 3.0 update.

I got the iPhone 3G S iPhone 3GS (like 3GS better and Apple seems to change it too) (32GB white) 2 days ago, June 20th 09. Since then I’ve been playing around and I’m quite happy about the new possibilities. Over the next few days I’ll be updating my data plans so I can make full use of it’s 3G capabilities in Austria and Germany.

The next step will be software development for the iPhone. First Webapps and later CocoaTouch apps.

iPhone, here I come!


June 19, 2009 at 6:23 pm

Recently I created a Flash-based file uploader for a website that was behind a HTTP Basic Auth.

Javascript calls flash for the file upload handling but Flash doesn’t know any browser cookies or any basic auth information. So the flash script always fails to upload the files since it can’t log into the basic auth area.

So I was looking for a workaround for this problem and came across a simple solution. You have to exclude the server-side script (async-upload.php in this example) that receives the uploads from Flash from the Basic Auth. To do so you can add the following lines to the .htaccess file in the same directory as the server-side script.

# Exclude the file upload script from authentication
<FilesMatch "(async-upload\.php)$">
Satisfy Any
Order allow,deny
Allow from all
Deny from none
</FilesMatch>

Hope this will help someone.