title: Dropzone error on crossdomain file upload
body: <p>I want to upload file from on server to other server with <strong>dropzone</strong>. But I keep geting error <code>Server responded with 0 code</code>. Dropzone only send Option request to target server. Request And response headers are here. After that i get the <code>error('0 code');</code>
  I Also set Headers to my php script. Which are these.</p>
  
  <pre><code>header('Access-Control-Allow-Origin: '.$pathToOrigin);
  header('Access-Control-Allow-Credentials:false');
  header('Access-Control-Max-Age:1000');
  header('Access-Control-Allow-Methods:PUT, POST, GET, OPTIONS');
  header('Access-Control-Allow-Headers: X-Requested-With, cache-control, content-type, access-control-allow-origin, access-control-allow-methods, access-control-allow-headers');
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/JdYeu.png" rel="nofollow noreferrer">requuest headers</a></p>