-
Notifications
You must be signed in to change notification settings - Fork 84
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
Deprecated prefix '@' in upload (PHP 5.5) #1
Comments
josiasmontag
referenced
this issue
Nov 13, 2013
Thanks for your feedback and letting us know! Could you please give short feedback if it works now (I currently do not have PHP 5.5 installed for testing). Thanks! |
Perfect! There is only a detail: Thanks in advance!! |
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Awesome library and awesome cloudConvert!
I find this problem for php5.5:
in the upload function there's a call to the 'req' private method that use CURLOPT_POSTFIELDS passing args like 'file' => '@'.$filename. The '@' prefix is deprecated in this version and i have to use CURLFILE instead.
Line 77:
replace 'file' => '@'.$filepath
by 'file' => new CURLFile($filepath)
The text was updated successfully, but these errors were encountered: