+ 2

How can i allow file uploads to my web site

web based uploads

26th Sep 2017, 4:43 PM
sendy
sendy - avatar
2 ответов
+ 4
First you need to buy a domain at any but I like go daddy then download filezilla and when godaddy provides you your username and password you sign in to filezilla and than an window opens so just select the directory and upload your files over.
26th Sep 2017, 4:52 PM
Vansh
Vansh - avatar
+ 1
I assume you want a file uploader on the website? Or are you asking how to upload your website files to the hosting provider/server? If its the first one, then it depends on how you want to allow these documents to be uploaded really. Are you using something like PHP or Ruby etc? I would suggest PHP and maybe store the file name, path, and meta data within a database. A couple of issues tho, allowing people to upload files onto your remote server is a risky business. You need to make sure your code is as secure as it can be not allowing any hackers to bypass validation or upload files like .php as this can be used to create executable code on the server. Also using PHP for file uploading has limits. You need to edit the php.ini file to allow bigger file sizes. This prompts an issue if you are using a normal hosting package as you wont be able to edit this file for obvious reasons.
10th Oct 2017, 3:26 PM
ihateonions