Answer the question
In order to leave comments, you need to log in
What tools exist for editing content and uploading files to the site?
Hello! There is a simple landing page laid out in html. Now it was necessary to enable the secretary to upload documents to this landing page, i.e. change one of its sections. I don’t want to file some kind of wordpress there, because. nothing will be edited except for the documents section. I don't really want to write all this from scratch either. Are there any simple scripts or CMS on files to organize this process?
At the moment you need:
1. File uploader to the server.
2. After downloading - adding a link to it in the section with documents.
Answer the question
In order to leave comments, you need to log in
FTP and notepad - the
answer is nowhere simpler:
in this case, output files as a list with a link, for example, through an object or a stylized div
$dir = 'папка';
$files = scandir($dir);
foreach ($files as $key => $value) {
echo '<a href="http://'.$_SERVER['HTTP_HOST'].'/папка/'.$value.'">'.$value.'</a> <br/>';
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question