Well i know its an online file storage web service but i wanted to know specifically hwo do you use it? Let's say i have web application where people upload a lot of files and later on edit and store those file on the server. Ideally i would save files on the server where the website is hosted so the users can access the files normally but it is scalable only to an extent. I find S3 a really cool solution but i really dont understand how do you store file in their after my user uploads the files via …

Member Avatar
Member Avatar
+0 forum 3

Hi all. I have got a code that detects the most mobile devices except Samsung Galaxy S3 (there may be other exceptions as well). Please advice how is it possible to detect the device Samsung Galaxy S3. My code is: <script type="text/javascript"> var isMobile = { Android: function() { return navigator.userAgent.match(/Android/i); }, BlackBerry: function() { return navigator.userAgent.match(/BlackBerry/i); }, iOS: function() { return navigator.userAgent.match(/iPhone|iPad|iPod/i); }, Opera: function() { return navigator.userAgent.match(/Opera Mini/i); }, Windows: function() { return navigator.userAgent.match(/IEMobile/i); }, any: function() { return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows()); } }; if(isMobile.any()){ alert("The device is mobile!"); } </script> Thank …

Member Avatar
Member Avatar
+0 forum 5

I have the following template that I am using to upload files into AMAZON S3. I'll display the template right here: [CODE]<cftry> <!---ACCESS KEY ID = SECRET ACCESS ID = BUCKET NAME = cic-audio FILE NAME = amazon_s3_test.txt---> <cfparam name="URL.step" default="view"> <cfoutput> <cfif URL.step eq "view"> <cfscript> // IMPORTANT: Set your key, accesskey and bucket here Variables.accessKeyId = ""; Variables.secretAccessKey = ""; Variables.BucketName='cic-audio'; // Put your bucket name here // Map S3 to Joe Danziger's S3 REST Wrapper (http://amazons3.riaforge.org/) // Place the s3.cfc in the same directory as this file S3=createObject("component","S3"); // Variables.RedirectURL='http://#CGI.HTTP_HOST##CGI.SCRIPT_NAME#?step=upload'; Variables.Expiration=Dateformat(DateAdd("d", 7, "#now()#"), "yyyy-mm-dd")&'T00:00:00Z'; // Expiry Date …

Member Avatar
Member Avatar
+0 forum 3

The End.