Perl

Moderators: Jonathan
Number of threads: 1236
Number of posts: 3605

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
CGI/Perl External Program Question Posted by Vagabond on 9 Aug 2000 at 5:21 AM
I am very, very, very new to CGI / Pearl, so I apologize in advance for my vast <br>
ignorance on this subject. My task is to find a way interface a CGI program <br>
with a DOS program sitting on a UNIX server. Here are the specifics:<br>
<br>
From a web browser, a user will start up a DOS program sitting on a UNIX <br>
server. The DOS program will send output to the user's web browser that <br>
will be displayed as HTML. The user will then enter some input into the web <br>
browser, which will then be sent back to the DOS program for processing. <br>
Next the DOS program will send output, based on the user's last input, back <br>
to the user's web browser. And so on.<br>
<br>
First let me say that I'm not sure how they managed to get this DOS program<br>
to run on a UNIX machine, but they apparently have. I'll have to get more <br>
details on this, let's just assume that it's possible for now.<br>
<br>
So in conclusion, is this possible? If so, can someone help me understand <br>
how to do this? Code examples would be greatly appreciated since I don't <br>
really understand much about Pearl yet. Again, I'd be tremendously thankful <br>
if someone could help solve this problem, or perhaps point me to a site where <br>
I might be able to get some help.<br>
<br>
-Brent<br>



Edit Report
Re: CGI/Perl External Program Question Posted by d.k. henderson on 23 Aug 2000 at 4:24 PM
See if the DOS program has/can use a CGI library.<br>
<br>
If not then the best alternative would be to a "mid-app" like a Perl script to interface with the user via CGI and then have a "pipe" between the Perl script and DOS/Unix app.<br>
<br>
<br>
<br>






 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.