How to upload a file to public html folder to the server and save the path to mysql database?
===

I want to upload my file into public html folder using php code at the time of uploading i want to insert the file path,size,mime type like this. Please any one give me proper solution because totally I wasted nearly one day for this

Thanks in Advance