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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -