Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
require $application_folder .'/vendor/autoload.php';
$s3= Aws\S3\S3Client::factory([ 'key' => 'SK2AILHWLV6CO7H3BE4L', 'secret' => 'LtBvZWW/T//79HcGbA129e658VtlkPRxxQNqpKoMysz', 'bucket' => 'zzz' ]); $result = $s3->putObject(array( 'Key' => 'Files2', 'Bucket' => 'zzz', 'SourceFile' => 'start.csv', 'ContentType' => 'text/plain', 'ACL' => 'public-read', 'StorageClass' => 'REDUCED_REDUNDANCY', 'Metadata' => array( 'param1' => 'value 1', 'param2' => 'value 2' ) )); echo $result['ObjectURL'];
Fatal error: Class 'Aws\S3\S3Client' not found in /www/server/application/controllers/testComp.php on line 34
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.