[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

The examples here demonstrate some of the basic functionalities of the Azure PHP SDK.

Getting Started

  • Download composer.phar to the examples directory

  • Create a file named composer.json in the examples directory and add the following code to it:

    {
        "require": {
            "microsoft/windowsazure": "^0.4"
        }
    }
  • Open a command prompt and execute this in the examples directory

    php composer.phar install
    

This will download all dependencies to the vendor sub directory.

Run the Task List example

Run the Media Services examples

  • Open MediaServices\userconfig.php, enter "Media Service Account Name" and "Primary Media Service access key" for your Media Service from the Azure portal.

  • In the examples directory, run

    php MediaServices\%sample_name%.php
    

Using Fiddler to Debug HTTP/HTTPS Requests

  • Install Fiddler.

  • Set the HTTP_PROXY and HTTPS_PROXY enviroment variables to localhost:8888. For example

    set HTTP_PROXY=localhost:8888
    set HTTPS_PROXY=localhost:8888
  • Start your program.