FileBuzz: Software Download
Find shareware, freeware downloads from thousands of software titles

Program Name: PHP-AWS

Published By:

License Type: Freeware

Date Released: January 21, 2012

PHP-AWS Instant Download

PHP-AWS Desciption:


PHP-AWS is a collection of PHP classes that let you take advantage of Amazon's web services platform (AWS). Currently, we have classes for use with
- Simple Storage Service (S3)
- Simple Queue Service (SQS)
- Elastic Compute Cloud (EC2)
- Mechanical Turk (MTurk)

__construct($key, $secret)

The S3 constructor initializes $this->_hasher using Amazon key and secret key you supply.


Returns the base-64 encoded version of string $str.


Returns true if $bucket is one of your available buckets. If false is returned, the bucket may potentially exist for another user.


Attempts to create $bucket as a new bucket in your account. Returns true on success. If not successful, false is returned and $this->error is set with the error message received from Amazon.


Attempts to delete the bucket named $bucket from your account. Returns true on success. If not successful, false is returned and $this->error is set with the error message received from Amazon.

Note: non-empty buckets cannot be deleted. This is a restriction (a good one) of Amazon.

deleteObject($bucket, $object)

Attempts to delete the object named $object in bucket $bucket. Returns true on success. False if the object could not be deleted.

directorySize($bucket, $prefix)

Returns the size, in bytes, of all the keys in bucket $bucket with prefix $prefix.

downloadObject($bucket, $object, $saveTo)

Downloads the object named $object from bucket $bucket and saves on the filesystem as $saveTo.

getBucketContents($bucket, $prefix, $delim, $marker)

Returns an array containing the contents of bucket $bucket. Please see the Amazon reference for an explanation of how $prefix, $delim, and $marker affect the results.


Returns an array containing the buckets accessible to your account.

getObject($bucket, $object)

Returns the contents of the object $object in bucket $bucket.

Note: since this loads the contents into memory, consider using downloadObject() for large files.

getObjectHead($bucket, $object)

Returns the HTTP header info for object $object in bucket $bucket.

getObjectInfo($bucket, $object)

Returns Amazon's meta information about object $object in bucket $bucket.


Searches the result of the current request for an error message. Returns true if none found. Otherwise, returns false and stores the error message in $this->_error.

objectExists($bucket, $object)

Returns true if object $object in bucket $bucket exists. False if it does not exist.

putObject($bucket, $object, $filename, $public, $disposition)

Stores the file $filename into bucket $bucket as object $object. If $public is true, the new object will be publicly accessible via the web at homepage If $disposition is set, the object will be stored with a special header to make the file download as an attachment named $disposition. This is useful if you want the file to have a different filename than its object name.

sendRequest($req, $params)

Sends the request specified by the array $req along with any additional params listed in the array $params.

Note: items in $req are sent as arguments to curl, while items in $params are sent in the query string.


Calculates a request signature using the algorithm specified by Amazon and the items in $req.

sortKeys($keys, $first)

Sorts the keys listed in $keys. If $first is null it sorts the keys alphabetically. If $first is "key", keys are sorted alphabetically followed by prefixes. If $first is "prefix", prefixes are sorted first then the keys. This is useful if you want to list your getBucketContents() results in a filesytem format. You can have files and directories intermixed (OS X style) or directories listed first (Windows style).

License: Freeware | Downloads (125)

Platform: All

Language: PHP

Related Software
New Reviews
New Downloads Top Downloads Top Search

New Downloads

GlassWire Data Usage Monitor
Start Menu 8
IObit Malware Fighter
ChequeSystem Cheque Printing Software
Net Monitor for Employees Professional
WidsMob ImageConvert
WidsMob HDR
WidsMob Montage
WidsMob Panorama
Project Packer
Simple Disable Key
ACDSee Ultimate
Tab Writer
My System Mechanic
Business Process Manager
Photovoltaic System
TATEMS Fleet Maintenance Software
iCare Data Recovery Free
Encrypt Care
Blackjack Systems Analyst
Handy Backup Home Standard

Top Downloads

Opera Mini
Turbo C++
Abyss Web Server X1
TaskMerlin Project Management Software
Macrorit Disk Partition Expert Server Edition
Foxit Advanced PDF Editor
Kids Online Browser
Rapid PHP Editor
Cleanup and Update Tool for Cisco CUCM
Open-School Community Edition
Count Code
Daniel Drubin Access Control Suite
simplitec simplisafe
Multi-Process Killer Portable
SCEA Part 2 & 3 Exam EPractize Labs Enterprise
Silva 2.1a2
Agama Web Menus
aXmag Free
Flash Player Pro
Red Call Recorder
Photo! 3D Album
Syston Data Recovery Free

Top Search

Math Php Scripts
Free Sales Scripts
Php Ping Network Scripts
Php Vertical Menu Scripts
Scripts Para Windows Xp
Convert Paint Shop Pro Scripts
Funny Website Java Scripts
Mirc Scripts Reference
Ftp Search Scripts Sites
Minecraft Editor Scripts
Price Comparison Scripts
Visual Basic Scripts
Php Scripts Track Sales
Irc Funny Scripts
Mini Java Scripts Projects
Music Sharing Scripts
Irc Cut Scripts
Mirc Scripts Ip
Microsoft Ice Cleaning Scripts
Deloitte Audit Scripts
Illustrator Scripts Export Jpg
Network Monitoring Php Scripts
Php Scripts For Downloading Images
Irc Color Scripts
Java Scripts Commands For Adobe