I am struggling to find the answer to my problem through any forum or Google search (probably because I am not well-versed in server language or settings.
When I click submit to the form, the browser just keeps “processing” and updateInventory.php never loads (nor do I get any errors at any point). updateInventory.php is in a protected folder, but it is the same folder that this form upload is located in.
The file that I am trying to upload is a .csv file that is only 310KB.
And the second time that I tried executing it with a script to connect to mysql and ftp that was previously located in the protected folder as well, the problem came back.