Skip to main content

File Upload using PHP and MySQL

Language


This system enable user to;
1. Log in to the system
2. Upload files
3. Delete files
4. Download files

If you are interested on this project please modify it by adding;
1. User manager module
2. User activities tracking module
3. More security features

NB: Files are saved in server and only location is saved to database.
USERNAME: admin
PASSWORD: 123456

Previously, this project was done by josina08
http://www.sourcecodester.com/php/4918/upload-files-phpmysql-site-server-and-saving-details-database.html

For any question, please contact me via email or sourcecodester message modules.
Please fill free to visit my other projects on http://www.sourcecodester.com/user/43168/track

HBT - Developers

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted byCanon (not verified)on Mon, 06/15/2015 - 18:55

Thank you for the wonderful comments and amendments. I am very happy that you have planned to upgrade this system. You can proceed accordingly and please do not forget to upload source code of your Upgraded system so that others can learn much more from it.
Regards

Submitted bymrakkas (not verified)on Wed, 06/17/2015 - 15:32

my teacher gave me this code and waned us to describe it.Could you please explain each part and fuction of this code .

The code is simple. Extract the source code to server location eg: c/wamp/www/ then open the phpmyadmin and import the database. then open your web browser and open either localhost or 127.0.0.1

Submitted bykadz (not verified)on Sun, 04/23/2017 - 21:53

im done importing the .sql file to my phpmyadmin but im having this error

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\upload1\dbConnector.php:17 Stack trace: #0 C:\xampp\htdocs\upload1\opener_db.php(4): DbConnector->DbConnector() #1 C:\xampp\htdocs\upload1\index.php(3): require('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\upload1\dbConnector.php on line 17

Submitted bykadz (not verified)on Sun, 04/23/2017 - 21:56

im done importing the .sql file to my phpmyadmin but im having this error

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\upload1\dbConnector.php:17 Stack trace: #0 C:\xampp\htdocs\upload1\opener_db.php(4): DbConnector->DbConnector() #1 C:\xampp\htdocs\upload1\index.php(3): require('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\upload1\dbConnector.php on line 17

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.