Results 1 to 4 of 4

Thread: where to place amazon s3 upload form button

  1. #1
    Thread Starter
    Junior Member darylzguy's Avatar
    Join Date
    Jan 2012
    Location
    United States
    Posts
    44
    Thanks
    5
    Thanked 1 Time in 1 Post

    where to place amazon s3 upload form button

    This theme has been great I found this code that allows users to upload directly to my amazon s3 account I cant seem to figure out where to put the code, dont know if it goes on the step2.php or somewhere else coders or developers please help!

    http://aws.amazon.com/articles/1434

    Code:
    <html> 
      <head>
        <title>S3 POST Form</title> 
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      </head>
    
      <body> 
        <form action="https://s3-bucket.s3.amazonaws.com/" method="post" enctype="multipart/form-data">
          <input type="hidden" name="key" value="uploads/${filename}">
          <input type="hidden" name="AWSAccessKeyId" value="YOUR_AWS_ACCESS_KEY"> 
          <input type="hidden" name="acl" value="private"> 
          <input type="hidden" name="success_action_redirect" value="http://localhost/">
          <input type="hidden" name="policy" value="YOUR_POLICY_DOCUMENT_BASE64_ENCODED">
          <input type="hidden" name="signature" value="YOUR_CALCULATED_SIGNATURE">
          <input type="hidden" name="Content-Type" value="image/jpeg">
          <!-- Include any additional input fields here -->
    
          File to upload to S3: 
          <input name="file" type="file"> 
          <br> 
          <input type="submit" value="Upload File to S3"> 
        </form> 
      </body>
    </html>

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,982
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    Junior Member darylzguy's Avatar
    Join Date
    Jan 2012
    Location
    United States
    Posts
    44
    Thanks
    5
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,785
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Coupon upload button does not work
    By cucutacreativa in forum Help Using Clipper
    Replies: 11
    Last Post: October 31st, 2011, 06:25 PM
  2. [SOLVED] Can not place ads, (ERROR: no results found for the default ad form)
    By kopuk_1234 in forum Help Using ClassiPress
    Replies: 3
    Last Post: September 11th, 2011, 11:00 AM
  3. how to place the list of STATES as links in some place
    By kittycat in forum ClassiPress General Discussion
    Replies: 8
    Last Post: February 16th, 2011, 07:17 PM
  4. remove "place and ad" button on front page.
    By jeffnaramor in forum Help Using ClassiPress
    Replies: 1
    Last Post: December 23rd, 2010, 11:44 AM