Thread View: comp.lang.perl.misc
2 messages
2 total messages
Started by onyx
Tue, 30 Jan 1996 18:33
sending form data to text file on local drive
Author: onyx
Date: Tue, 30 Jan 1996 18:33
Date: Tue, 30 Jan 1996 18:33
18 lines
1114 bytes
1114 bytes
I have the need to collect form data from a html form and send the data to an ascii file on the server. Once the data is in place I would like for a program to print the results to a printer connected to the server. Does CGI support these types of functions? I have seen the results of data from a form sent to an email address (mailto:)... the results were the name of the field and the contents of the field, seperated by a character (can not remember the character). Can a CGI script be told to remove the field name leaving only the data and write the file to a harddisk? I would appreciate a response via email rather than to retrieve it from here. Thanx onyx
Re: sending form data to text file on local drive
Author: Donald-Anthony C. Phillips
Date: Wed, 31 Jan 1996 17:37
Date: Wed, 31 Jan 1996 17:37
17 lines
1236 bytes
1236 bytes
There is considerable work being done with VB CGI. Most Windows based
webservers now allow for VB as the CGI. Just like you can use the
Post.c, Query.c and Util.c on Unix to aid in form data translation,
you can use a file called CGI.bas which has every thing needed to
decode form data. Once you add this file to your project, your CGI
will have access to all the form data with little effort.
What I need to know is are you running a Windows or Unix based server.
If you'd like some more assistance in CGI programming, E-mail me with
some more details.
Donald-Anthony C. Phillips
Programmer/Analyst
Rockwell Automation
---------------------------------------
Allen-Bradley
don.phillips@ab.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads