Refactoring PHP script code

Employer
[no-member:pro]Aleksey[/no-member:pro]
Project parameters
Type of cooperationOne-time project
SectionWeb development, Web programming
Prepaymentwithout prepayment
Payment methodsBank transfer
Acceptance of requestsfrom Jun 24, 2020 until Jul 4, 2020
Project description
The services of a web programmer are required. You need to refactor the PHP script code. There is a file - a script on the PHP ready site, export data from the EXCEL table to the MYSQL database. The site hosted on BEGET, the script wrote on MAC OS (IDE PS Storm). Since he is not a professional, you need a ready-made script to optimize and add if something is missing. Task: 1. To check the file type in the script, and upload only the files EXCEL, 2 to the server. To work out tasks for loading errors, 3.So that during the export of data from the EXCEL table, check for empty lines and the end of the table with data is carried out. How much will your job cost?