Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Order page

New Here ,
Mar 22, 2017 Mar 22, 2017

Copy link to clipboard

Copied

How do I create a page that allows users to upload a graphic or text for me to output and deliver back to them, adding to a cart?

Views

259
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 22, 2017 Mar 22, 2017

Copy link to clipboard

Copied

This a very broad question, something that we are not equipped to deal with in this forum. If you bring the questions back to a manageable size, we may be able to assist.

For example, take the first part, namely 'How do I create a page that allows users to upload a graphic or text'. Assuming that the text is presented in the form of a document, like Word, you would upload the file using a form with the following form field

<input type="file" name="file">

or similar. The form would the be processed using server-side script, like PHP. The actual document/image (file) will be placed in a designated folder and a pointer will be placed in the database.

Although PHP CRUD Tutorial (part 1) does not show how to upload a file, this is a great place to start learning. You will need to polish up on your knowledge of HTML, CSS, JS, PHP and MySQL

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Mar 22, 2017 Mar 22, 2017

Copy link to clipboard

Copied

I had started to respond to this post and then stopped because it is so broad. I think Ben has given you a good challenge to start with: Write a routine to upload files to the server.

Eventually you will also need to learn how to prevent people from uploading malicious software to the server, and the wrong types of images, and images that are way to large.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 23, 2017 Mar 23, 2017

Copy link to clipboard

Copied

LATEST

Or, find a 3rd party, PCI compliant shopping cart that supports file uploads.

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines