title: Dropbox Api Upload Error
body: <p>I am developing a app for my clients which allows to upload their files to dropbox..
  i search the web and got some code the below is the code i got</p>
  
  <pre><code>&lt;?php
  if ($_POST) {
      require 'DropboxUploader.php';
  
      try {
          if ($_FILES['file']['error'] !== UPLOAD_ERR_OK)
              throw new Exception('File was not successfully uploaded from your computer.');
  
          if ($_FILES['file']['name'] === "")
              throw new Exception('File name not supplied by the browser.');
  
          // Upload
          $uploader = new DropboxUploader($_POST['email'], $_POST['password']);
          $uploader-&gt;upload($_FILES['file']['tmp_name'], $_POST['destination'], $_FILES['file']['name']);
  
          echo '&lt;span style="color: green"&gt;File successfully uploaded to your Dropbox!&lt;/span&gt;';
      } catch (Exception $e) {
          // Handle Upload Exceptions
          $label = ($e-&gt;getCode() &amp; $uploader::FLAG_DROPBOX_GENERIC) ? 'DropboxUploader' : 'Exception';
          $error = sprintf("[%s] #%d %s", $label, $e-&gt;getCode(), $e-&gt;getMessage());
  
          echo '&lt;span style="color: red"&gt;Error: ' . htmlspecialchars($error) . '&lt;/span&gt;';
      }
  }
  ?&gt;
  &lt;form method="POST" enctype="multipart/form-data"&gt;
  &lt;dl&gt;
  &lt;dt&gt;&lt;label for="email"&gt;Dropbox e-mail&lt;/label&gt;&lt;/dt&gt;
  &lt;dd&gt;&lt;input type="text" id="email" name="email"&gt;&lt;/dd&gt;
  &lt;dt&gt;&lt;label for="password"&gt;Dropbox password&lt;/label&gt;&lt;/dt&gt;
  &lt;dd&gt;&lt;input type="password" id="password" name="password"&gt;&lt;/dd&gt;
  &lt;dt&gt;&lt;label for="destination"&gt;Destination directory (optional)&lt;/label&gt;&lt;/dt&gt;
  &lt;dd&gt;&lt;input type="text" id="destination" name="destination"&gt; e.g. "dir/subdirectory", will be created if it
  doesn't exist
  &lt;/dd&gt;
  &lt;dt&gt;&lt;label for="file"&gt;&lt;/label&gt;File&lt;/dt&gt;
  &lt;dd&gt;&lt;input type="file" id="file" name="file"&gt;&lt;/dd&gt;
  &lt;dd&gt;&lt;input type="submit" value="Upload the file to my Dropbox!"&gt;&lt;/dd&gt;
  &lt;/dl&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>When i try to upload files using this script i get</p>
  
  <p><strong>Error: [DropboxUploader] #268697857 Curl error: (#60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed</strong></p>
  
  <p>can any one help me in solving this issue.. and is there any api upload for skydrive and google drive</p>