Copy link to clipboard
Copied
Hello,
I would like for the user of a webpage to have the ability to upload an excel document before they submit. Would anyone have detailed instructions to do so. I got as far as adding the file field into the form but now I need instructions on writing server-side code to handle the excel file that gets uploaded.
I appreciate any help.
Thanks!
Copy link to clipboard
Copied
There are a few ways to accomplish this, none via pure html though.
I suggest using the formmail .php script available at http://www.tectite.com
Allowing your viewers to upload files to you is risky. This particular script has the ability to upload files via your html form, but also protect you from spam and set up conditions to disallow other file types that could load viruses.
It is very well documented and has a step-by-step that will take you through all of the features.
In order for it to work, you will need .php installed on your hosting server. Normally it is and if for some reason it's not, you can usually add it for free via your hosting account user/admin area.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now