close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Pay Per Upload

Thread began 10/20/2013 10:06 pm by stephen287384 | Last modified 10/23/2013 9:30 pm by stephen287384 | 530 views | 2 replies |

stephen287384

Pay Per Upload

I need to build a site which will allow users to upload images for a competition. Each upload will cost the user a set fee. The form will need to gather basic information about the user and collect the fee before allowing the file upload. What is the best way to go about this?

Sign in to reply to this post

Jason ByrnesWebAssist

To start with, the user will need to register and login prior to purchasing, see the following tutorial for details:

http://www.webassist.com/tutorials/Applying-Register-Login-to-your-Checkout-Process

when an order is placed, the users ID should be store in the orders table. The order details table will have the order ID stored. Using a jpoin query, you lookup the orders to tell how many uploads the user has purchased.

When a file is uploaded, you should have another table for userUplaods:

useruploadID - primary key
useruploadUserID - relates to users .userID
useruploadFileName - stores the uploaded file name


on the upload page, you will need to add logic to lookup the number of uploads purchased and the number of uploads completed and restrict access if completed is equal to or above purchased.

if you need help implementing this we can help in a premiere support appointment:
http://www.webassist.com/premier_request.php

Sign in to reply to this post

stephen287384

Thanks Jason, sounds good.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...