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

Program Name: PHP-AWS

Published By: code.google.com

License Type: Freeware

Date Released: January 21, 2012


PHP-AWS Instant Download

PHP-AWS Desciption:


Advertisements



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)
Methods

__construct($key, $secret)

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

base64($str)

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

bucketExists($bucket)

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

createBucket($bucket)

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.

deleteBucket($bucket)

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.

getBuckets()

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.

isOk($result)

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.

signature($req)

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 (123)

Platform: All

Language: PHP


Related Software
New Reviews
New Downloads Top Downloads Top Search

New Downloads

Oracle ODBC driver (32/64 bit)
NetWorx
Dynamics CRM ODBC Driver (32/64 bit)
Devart ODBC Driver for Firebird
Devart ODBC Driver for MySQL
Advanced XLS Converter
SQL Server ODBC driver (32/64 bit)
Handy Backup Small Server
Exiland Backup Standard
.Net DLL/WSDL Importer for Delphi
BitCrypter
Elcomsoft eXplorer for WhatsApp
Dr.Web CureIt
GlassWire Free Firewall
Exiland Backup Free
True Burner
DocuVieware
Active@ Data Studio
Active Disk Editor
iMagic Inventory Software
Altova DiffDog Professional Edition
Database Converters for Windows
Webcam and Screen Recorder
Efficient Calendar
Easy Time Control Free

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
MathCast
SourceMonitor
Cleanup and Update Tool for Cisco CUCM
FTP!
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