title: How set Meta data key in php for Rackspace Cloud API
body: <p>I am using Cloud File API of Rackspace Cloud server in PHP, I want to generate a temp url to download files for direct to my server for this i am using <code>get_temp()</code> method of this api but before use to this method i have to set Meta Data key for my container. How would i do this.</p>
  
  <pre><code> public function get_temp_url($key, $expires, $method)
  {
  
      $expires += time();
      $url = $this-&gt;container-&gt;cfs_http-&gt;getStorageUrl() .  '/' . $this-&gt;container-&gt;name . '/' . $this-&gt;name;
      return $url . '?temp_url_sig=' . hash_hmac('sha1', strtoupper($method) .
             "\n" . $expires . "\n" . parse_url($url, PHP_URL_PATH), $key) .
             '&amp;temp_url_expires=' . $expires;
  }
  </code></pre>