title: 'computer says yes' error API ge.tt upload
body: <pre><code>&lt;?php 
  $UploadURL = $CreatFile-&gt;upload-&gt;posturl;
  $file = $_SERVER['DOCUMENT_ROOT'] . '/picasa/preview_alpha.jpg';
  $post = array(
      'filename'  =&gt;  '@'.$file
  );
  $header = array(
      "Content-Length: ".filesize($file),
  );
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $UploadURL);
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  curl_setopt($ch, CURLOPT_POST, 1);
  curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
  curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
  $hasil = curl_exec($ch);
  $hasil1 = curl_error($ch);
  curl_close($ch);
  return $hasil.$hasil1;
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>computer says yes
  1
  </code></pre>
  
  <p>but in the share file, the file didn't upload
  if use puturl then it can't conect to server
  <a href="https://open.ge.tt/1/doc/rest#files/" rel="nofollow">https://open.ge.tt/1/doc/rest#files/</a>{sharename}/create</p>