transloadit / php-sdk

Transloadit's official PHP SDK

Home Page:https://transloadit.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion: CURL depricated functions (PHP 5.5)

tim-kos opened this issue · comments

This is what a customer wrote to us:


On CurlRequest.php of the Transloadit PHP API, the following warning is generated:

curl_setopt_array(): The usage of the @filename API for file uploading is deprecated. Please use the CURLFile class instead

I have checked and notice that this CURLFile class appears only in PHP 5.5 and so you will need to check the PHP version and write two versions.

Its not worth my time to fix, but it triggers my debugger ever time that I use it.