Upload image to amazon s3 server with php -
i have problem upload of files amazon, stored image /var/tmp call 50.jpg, , want upload image on directory: //bucket_name.s3.amazonaws.com/150x150/
. use class https://github.com/tpyo/amazon-s3-php-class
. tried :
s3::setauth(awsaccesskey, awssecretkey); s3::putobjectfile('/var/tmp/', 'bucket-name', '50.jpg', s3::acl_public_read).
but not work.
Comments
Post a Comment