You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

FSUInnovation's avatar
FSUInnovation
Explorer | Level 4
5 years ago

http header issue with file send via php curl

I keep getting errors in my php code regarding a missing authorization header in my http request using curl. This is what my code looks like: $doc = $_FILES['Resume']; $filename = $doc['tmp_name']...
  • Greg-DB's avatar
    5 years ago

    According to the PHP curl documentation, the 'CURLOPT_HEADER' option is to "to include the header in the output". It doesn't set the headers for the request. You should use the 'CURLOPT_HTTPHEADER' option for that instead.