Hi to every one.

my task is send to email with using AWS.

so i have sign up for (Amazon Web Services)AWS . and i have got secrete
keys, and keys.i have downloads SDK for PHP and i have copy,past to my
direct path(/opt/lampp/htdocs/amazon/aws)


i have write the initals(fresh) code.below these codes


<?php

// Include the SDK using the Composer autoloader
require 'amazon/aws/aws-autoloader.php';

use Aws\S3\S3Client;

// Instantiate the S3 client with your AWS credentials and desired AWS
region
$client = S3Client::factory(array(
            'key' => 'AKIAI3RFK7VX6KPAVWQQ',
            'secret' => 'nfvjefVOCfGmCkwDfWtwdyJi12Prvum3K86ab5hZ',
        ));



$bucket = 'bala';

$result = $client->createBucket(array(
    'Bucket' => $bucket
        ));

// Wait until the bucket is created
$client->waitUntil('BucketExists', array('Bucket' => $bucket));
?>

and save these codes and run  browser ,

but its not working, i have found below these errors


Warning: require(aws/aws-autoloader.php) [function.require]: failed to open
stream: No such file or directory in
/opt/lampp/htdocs/amazon/aws/servicefactor.php on line 5

Fatal error: require() [function.require]: Failed opening required
'aws/aws-autoloader.php' (include_path='.:/opt/lampp/lib/php') in
/opt/lampp/htdocs/amazon/aws/servicefactor.php on line 5

if any one know AWS please help with me?
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to