File Upload using PHP and MySQL

Submitted by: 
Language: 
Visitors have accessed this post 19140 times.

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
https://www.sourcecodester.com/php/4918/upload-files-phpmysql-site-serve...

For any question, please contact me via email or sourcecodester message modules.
Please fill free to visit my other projects on https://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

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

hello,
Please try using wamp server

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

I am not able to download the uploaded file

The project have no issue on downloading

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

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

Greetings Ngirwa.

Its a Pleasure. I have made some ammendments to the program i will upload it the source code.

Contact Me: email: [email protected]
Telephone: +254700099269

Good kariukikenya. I expect to see your code soon

Thank for this code - Looking to add this to my site.

Thank you for downloading it.
Regards,
cngirwa

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.