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?
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
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.
Copy link to clipboard
Copied
Or, find a 3rd party, PCI compliant shopping cart that supports file uploads.
Nancy