Hi Guys,
I am trying to pull a value out of a response from Amazon AWS.
It is returning an array of arrays and I am iterating over it using:
`
foreach ( $response as $object) {
…
}
`
If Iprint_r($object)
I receive the following:
`
Array
(
[Key] => File.jpg
[LastModified] => 2014-09-10T01:41:54.000Z
[ETag] => “d41d8cd98f00b204e9800998ecf8427e”
[Size] => 0
[Owner] => Array
(
[ID] => 1774a92
[DisplayName] => begftp
)
[StorageClass] => STANDARD
)
`
I am trying to grab the value of [key]
but no matter what I try I can’t seem to get it.
Thanks for any help.
Matt