putObjectFile($fileTempName, "upload.cadalyst.com", $fileName, S3::ACL_PUBLIC_READ)) { echo "We successfully uploaded your file."; }else{ echo "Something went wrong while uploading your file... sorry."; } ?>
getBucket("upload.cadalyst.com"); foreach ($bucket_contents as $file){ $fname = $file['name']; $furl = "http://upload.cadalyst.com.s3.amazonaws.com/".$fname; //output a link to the file echo "$fname
"; } ?>