![]() |
upload file to amazon S3 and CI upload class - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: upload file to amazon S3 and CI upload class (/showthread.php?tid=51014) |
upload file to amazon S3 and CI upload class - El Forum - 04-17-2012 [eluser]tim peterson[/eluser] i'm trying to upload a file to my Amazon S3 bucket. My friend had this working on our site in the past but a year later its busted and I can't figure out what's wrong. We are using the S3 PHP library developed by: Geoff gaudreault (@neurofuzzy) http://www.neurofuzzy.net/2006/08/26/amazon-s3-php-class-update/ This library looks pretty straightforward to me, really it looks like there is one key function: putObject(). Unfortunately, I'm not even getting out of the gate. I'm getting the following error message: Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data. here's my codeigniter PHP for my upload form action: Code: function s3(){ does anyone have any thoughts? thanks, tim |