I have a MySQL database with a user frontend built using PHP. The database and PHP are on Linux. Currently users can upload files via a web front end. The PHP then extracts the information from the file and inserts it into the MySQL database. I now want to purchase some software that will analyse the uploaded file contents. Ideally I would like the following to happen:
- Users upload file
- PHP creates input file
- PHP executes the analysis software and submits the prepared input file
- Analysis software runs and generates output file
- PHP takes the results of the output file and inserts it into database (this part will possibly be run as a daily cron job)
The problem is that the software will only run on Windows and not Linux. I also will not have access to the program's source code. I've been told by the vendors of the software that their program can be started programmatically by any script that can call an exe file on the Windows system. Is there anyway that I can automate my system so that the PHP script on Linux can trigger the analysis software?