title: Cloudinary Image Upload Using PHP Not Working
body: <p>I used cloudinary for image upload, I tried all possible ways to upload the image but my code stuck at.. </p>
  
  <pre><code>$cloudUpload = \Cloudinary\Uploader::upload($_FILES["fileToUpload"]['tmp_name']);
  </code></pre>
  
  <p>Here is my code,</p>
  
  <pre><code>&lt;?php
  require 'Cloudinary.php';
  require 'Uploader.php';
  
  \Cloudinary::config(array(
      "cloud_name" =&gt; "xxxxx",
      "api_key" =&gt; "xxxxxxxxxx",
      "api_secret" =&gt; "_xxxxxxxxxxxxxx"
  ));
  
  if (isset($_POST["submit"])) {
      print_r($_FILES["fileToUpload"]);
      $cloudUpload = \Cloudinary\Uploader::upload($_FILES["fileToUpload"]['tmp_name']);
      print_r($cloudUpload);
  }
  
  ?&gt;
  &lt;!DOCTYPE HTML&gt;
    &lt;html&gt;
      &lt;head&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
  
  &lt;form method="post" enctype="multipart/form-data"&gt;
      Select image to upload:
      &lt;input type="file" name="fileToUpload" id="fileToUpload"&gt;
      &lt;input type="submit" value="Upload Image" name="submit"&gt;
  &lt;/form&gt;
  
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Am not getting any response at all from cloudinary and no errors on require line on top.</p>
  
  <p>Please Help!</p>