> -----Original Message----- > From: Naomi Arries [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 09, 2002 3:36 PM > To: [EMAIL PROTECTED] > Subject: Display program output to HTML/CGI page > > > Hi all, > > Could anyone assist with the following: > Let me explain when running a program on my c: drive the > program, produce two outputfiles. > In addition the program then display a screen output[see > the attachment].
OK. > > My request is: > 1) I want for this screen output to be send back to the > user by CGI / HTML page. OK, then you need a web server configured to run CGI scripts. You need to place your script in a location that can be run via an HTTP request. Your script needs to emit a valid HTTP response containing HTML content. Suggest you use the CGI module for this. > 2) On the same page I want an email prompt block enableing > the user to enter his/her email address. OK, then you need a form on your response. When submitted, the script can pick up the address from the form and generate the email. Suggest you use MIME::Lite for this if you want the files to be attachments. > The idea is for the output file (train_out.txt and > nnet_out.txt) to be emailed to the user. You'll probably want to generate different file names each time to make sure that multiple users get the specific data they requested. (The nature of the data may dictate otherwise, of course.) > I currently have this perlscript[start_nn1.pl] that does > not really do what I want Sorry, can't see that script anywhere. > Will you be able to do this for me? This is not really a consulting service. It's a place where programmers help each other with questions. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]