5
È questo il modo corretto di generare un URL e modificarne il nome di download?SDK Amazon S3: cambia nome al download?
$s3 = new AmazonS3();
$opt = array('response' => array('Content-Disposition' => 'attachment; "filename=newname.txt"'));
$url = $s3->get_object_url('bucket', 'file.txt', '5 minutes', $opt));
Apparentemente non funziona con me.
come funziona questo? –
@tq Puoi leggere a riguardo http://aws.amazon.com/sdkforphp/ – IMB