I want to make it so that people from my site can download files and upload their own.
Closed due to the fact that the issue is too general a participant Nofate ♦ December 20, '16 at 15:24
Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .
|
2 answers
We need a table for storing the names of the uploaded files, and, of course, the script for uploading the file upon request, say, by its ID when downloading.
- and what is better to use javascript or php? - Roman Sokolov
- First, understand what JS and PHP are. These are different things, php is server-side programming language, JS is client-side. <br> will have to use PHP + MySql - in order to quickly find the downloaded files. HTML + CSS to beautifully draw everything on the page. - Artem
|
File names are stored in the database when the user requests a file — form a path, send the whole thing through the header to the user
|