Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

running exe file from cgi

by perlkhan77 (Acolyte)
on Aug 06, 2008 at 11:42 UTC ( #702610=perlquestion: print w/replies, xml ) Need Help??
perlkhan77 has asked for the wisdom of the Perl Monks concerning the following question:

hi all i am new to cgi programming , i want to use an exe file to be run from apache server.This exe file for your information is of ncbi-BLAST whose functionality i want to incorporate into my database which has to be launched on the internet.can anyone tell me how to go about in doing it or can anyone give me example of using an exe file from cgi script on a webserver like apache please help !!!!

Replies are listed 'Best First'.
Re: running exe file from cgi
by leocharre (Priest) on Aug 07, 2008 at 04:05 UTC

    If you feel the replies were too vague- It should be pointed out that people here usually present more precise questions.

    You could start a script with what you want it to do, and where you have no idea, maybe just put in a comment. Then post that, then you would get more interesting replies.

    What was mentioned before- is that scripting a cgi is the same as any other script. Cgi is more of a 'how' than a 'what', you can write cgi in any language. Perl is just one of the languages.

    Thus, your question is partly about how to run an external executable program from your script. I suppose this perl cgi script would take input parameters, check (validate) the values, and pass them on (call the external exe(cutable))- then the result (fail, success, output) would be presented back.

Re: running exe file from cgi
by Anonymous Monk on Aug 06, 2008 at 12:12 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://702610]
Approved by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2018-06-22 17:28 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (124 votes). Check out past polls.