HTML/CSS Can a Fortran 95 Program Run Online Using a HTML Form?

  • Thread starter Thread starter onlybarca6
  • Start date Start date
  • Tags Tags
    Form Fortran Html
AI Thread Summary
To run a Fortran 95 program online, a proposed method involves using PHP to handle user input from an HTML form. Upon submission, PHP would write the input values to a text file, which the Fortran program would then read to perform calculations. The results would be output to another text file and displayed on the website. The feasibility of this approach depends on the web server, platform, and available infrastructure. Additionally, permissions on the operating system and web server are crucial for executing this process seamlessly.
onlybarca6
Messages
5
Reaction score
0
I've got a Fortran 95 program (which basically does few calculations) and I'd like to use it online. So that, the users will input data into a HTML form, the program will run, and it will display the results.

Would it be possible to do it in the following way?
To run a little program (e.g. PHP) once the user submits the form, then that program would take the input values from the form and write them into a text file.
Then it runs the Fortran program, which reads the input values from the text file and does all the calculations - outputting the results to another text file (and then back to the website).

If that's possible, how do I put all these steps into one thing, so that they'll be executed one after another?


Thank you very much for your help!
 
Technology news on Phys.org
That looks very much like a re-post of How to run Fortran program on the website? Please help, but anyway:

Theoretically, there are many of ways of gluing a module or an an app and a website together, but the choice of architecture largely depends on infrastructure, foremost

- which web-server,
- running on which platform,
- providing which infrastructure

is taken into consideration?

And last not least which rights do you have on the box/the OS/the web-server/your site?

Regards, Solkar
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
25
Views
3K
Replies
2
Views
2K
Replies
3
Views
2K
Replies
1
Views
4K
Replies
6
Views
3K
Replies
3
Views
1K
Back
Top