title: cURL to PHP Translation Issues
body: <p>Okay...newbie question that I can't figure out.  Here's what the <a href="https://box-content.readme.io/reference#upload-a-file" rel="nofollow">Box.com documentation</a> says for uploading a file:</p>
  
  <pre><code>curl https://upload.box.com/api/2.0/files/content \
    -H "Authorization: Bearer ACCESS_TOKEN" -X POST \
    -F attributes='{"name":"tigers.jpeg", "parent":{"id":"11446498"}}' \
    -F file=@myfile.jpg
  </code></pre>
  
  <p>I'm trying this in PHP:</p>
  
  <pre><code>$attributes='{"name":"tigers.jpeg", "parent":{"id":"4224475591"}}';
   $headr = array();
  $headr[] = 'Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxx';
  
  $prep_data = array('file'=&gt;'data08.13.15.csv','attributes' =&gt; $attributes);
  $post_data=  http_build_query($prep_data) . "\n";
  $url = 'https://upload.box.com/api/2.0/files/content';
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_HTTPHEADER,$headr);
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt( $ch, CURLOPT_POST, 1);
  curl_setopt( $ch, CURLOPT_POSTFIELDS, $post_data);
  curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 1);
  curl_setopt( $ch, CURLOPT_HEADER, 0);
  curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1);
  
  $response = curl_exec( $ch );
  var_dump($response);
  </code></pre>
  
  <p>I'm getting <code>string(0) ""</code> back for my <code>var_dump($response);</code></p>
  
  <p>What am I doing wrong here?</p>