The system displays the uploaded files in a table, you can view the files and download them. These files are uploaded to the upload folder.
This system was developed in CodeIgniter a framework in PHP, quite simple in its execution and robust in its scope, its implementation can be a little more complex than the usual developments that are uploaded in this blog post.
Explanatory video (spanish)
Setting up the File Upload System in PHP and MySQL on a Local Server
Install Composer
It is a package manager like NPM, but in this case it is specific to PHP, this package manager shows a scalable and organized way to manage, download and install the dependencies and libraries that you require for your project. For the implementation of the file upload system in PHP and MySQL you need to install composer, in the video below I show the process of installing both Laravel and Composer in XAMPP.
GitHub project download
C:\xampp\htdocs
git clone https://github.com/configuroweb/subida-archivos.git
Running composer on already downloaded project
To carry out this process from the console, type the following command and press enter, if you previously installed Composer you will not have any problem:
composer install
Creation and Import of the database of the File Upload System in PHP and MySQL
http://localhost/phpmyadmin/index.php
For the application to work correctly, from phpmyadmin, you must create the database with the name subida-archivos, then you must access the SQL section and paste the code found in the following link:
Base de datos del Sistema de Subida de Archivos en PHP y MySQL
Si realizaste los procesos como fueron indicados en esta publicación sin cambiar ningún parámetro el sistema te debe funcionar correctamente en la siguiente URL:
http://localhost/subida-archivos/public/
Important considerations when uploading the File Upload System in PHP and MySQL to an Internet hosting
In addition to the final URL of the project, it must be put as it will be in the following document App/Config/App.php on line 27.
Finally, to modify the user's view, the page as it is seen, you can do it from the file called home.php inside the Views folder, in this instance you can modify what the end user sees.
One comment