Suggestion Please ??

Jun 15, 2010 at 11:00 AM

Hi Every One,

I am PHP developer . I want to access the Azure Storage from local XAMPP / WAMP server . I don't have windows azure portal site. But i want to test my code from my local machine itself. I am able to access my local development fabric by using code.

I am able to retrieve the Table entity by using below url. This is only for retriving purpose . I want to insert the data to my azure table.

http://www.robbagby.com/php/working-with-azure-table-storage-from-php/

 

Suggestion Please ??

 

Thanks

Tamilmani Mohan

Jun 15, 2010 at 11:19 AM

Now i am able to list my azure storage table (help of url http://phpazure.codeplex.com/Thread/View.aspx?ThreadId=215797&ANCHOR#Post455507)


require_once 'Microsoft/WindowsAzure/Storage/Table.php';

$account = "xxxxxxxxxxxxxxxxxxxxx";
$key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
$storageClient = new Microsoft_WindowsAzure_Storage_Table('table.core.windows.net', $account, $key);
$result = $storageClient->listTables();
foreach ($result as $table)
{
    echo '<b>Table name is: </b>' . $table->Name;echo "<br>";
}