PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Brian Swan's Blog: Accessing Windows Azure Blob Storage from PHP

Note: This article was originally published at PHPDeveloper on 10 July 2010.
PHPDeveloper

Brian Swan has posted a new tutorial to his blog showing you how to connect your PHP application with the Azure service and use the blob storage it offers.

In this post I will do something similar [to this previous post] for accessing Windows Azure Blob Storage from PHP. This won't be a deep-dive into Windows Azure Blob Storage, but it will be a "how to get started with the Microsoft_WindowsAzure_Storage_Blob class (which is part of the Windows Azure SDK for PHP)"-type post.

He talks about how these blob containers are stored on the Azure side and what kind of access controls they come with. This graph might help sort it all out. From there he shows you how to use the PHP SDK to connect to the service, make a new container (with an ACL) and doing all of the usual operations with a blob - uploading, downloading, streaming, deleting and listing the blobs currently available.