Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: CURL depricated functions (PHP 5.5) #8

Closed
tim-kos opened this issue Feb 4, 2014 · 0 comments
Closed

Suggestion: CURL depricated functions (PHP 5.5) #8

tim-kos opened this issue Feb 4, 2014 · 0 comments

Comments

@tim-kos
Copy link
Member

tim-kos commented Feb 4, 2014

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.

ABerkhout added a commit to ABerkhout/php-sdk that referenced this issue Feb 13, 2015
Fix for deprecated @filename API in curl by using the supported CURLFile class.
kvz added a commit that referenced this issue Feb 13, 2015
Fix for issue #8: CURL depricated functions (PHP 5.5)
@Acconut Acconut closed this as completed Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants