Created
December 26, 2014 08:09
-
-
Save sanjay1688/be2cf4c54386a65008e6 to your computer and use it in GitHub Desktop.
My code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// php upload function | |
Array | |
( | |
[file] => /tmp/phpRZl57f | |
[wait] => 1 | |
[lossy] => 1 | |
[s3_store] => Array | |
( | |
[key] => xxxxxx | |
[secret] => xxxxxx | |
[bucket] => b.fitn.in | |
[region] => ap-southeast-1 | |
[headers] => Array | |
( | |
[Cache-Control] => max-age=2592000000 | |
[Expires] => Wed, 11 Apr 2096 20:25:37 GMT | |
[Content-Type] => image/jpeg | |
) | |
[path] => f/c/1767_1419581132.jpg | |
) | |
) | |
$original_response = Kraken::upload($original_upload_params); | |
// getting response | |
Array | |
( | |
[message] => Error while pushing file to S3: Expected params.Expires to be a Date object, ISO-8601 string, or a UNIX timestamp | |
[success] => | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment