I am trying to execute some fortran program through PHP. Basically I have a webform that upload a text file with some data in it, the fortran is supposed to take the text file, get data, and return another text file with results. e.g. a text file with list of some numbers and a fortran program should get it, calculate and return an average of those numbers.
I am running an apache server, and wondering if it is possible to make PHP execute the fortran program. If it is possible, how would I go about doing it?
thanks