Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to run Fortran program on the website? Please help

Status
Not open for further replies.

260791

MIS
Jun 14, 2010
16
GB
I have a simple command-line based Fortran 95 program. I would like
my clients to be able to run it straight on the website. So that it
can be executed on the server without downloading it.
I have found out that most of the hosting packages and web browsers do not allow running .exe files on the server.

So is there any other way to run my program on the website?
Can I export fortran program to a different format than .exe?


Thank you for help
 
It is normally possible to run any type of executable file on a server if this one authorizes the CGI (Common Gateway Interface) or the fastCGI which is the one I uses on my own Web server.

Usually, CGI is limited to few file suffixes and PHP scripts are often authorized (suffix .php). As it is possible to execute any other program via PHP, such limitation is easy to circumvent.

Be careful anyway : a web server waits for specific output formats like Html (a normal web page) or an image. But a text output is possible too if you precise that format in a short header.

François Jacq
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top