!!! Make form data write to a simple *.txt file?
477987
While I've only briefly used Perl, I cannot give you any concrete code.  However, consider this suggestion:  A person enters an 'e-mail' address and posts back from the form.  Have the action from the POST send the results to a Perl script that will use the Perl SMTP libraries to send an e-mail to an address of your choosing, with the person's entered e-mail address as the 'FROM' address.  You can set up the 'subject' line so that you can have your e-mail reader use certain rules to store the mail in a particular folder.\n\nIf you set up the e-mail body correctly, you could then turn around and 'reply' to all of the e-mails that you received with your specific subject line to all of the 'FROM' addresses you had collected and have that handle your replies without the cut & paste.\n\nNo mussy text files, no database required --only problem is if you can't connect to the SMTP server from the machine taking the HTTP POST requests.
751562
Create a page with an HTML form similar to the following.  The input tag with a type of "file" shows up in the browser as a text field for the file name and a "browse" button automatically:\n\n<form method="post" enctype="multipart/form-data" action="upload.jsp">\n<input type="file" id="file1">\n<br />\n<input type="submit" value="Send">\n</form>\n\nNow, in the JSP file or servlet that is receiving the post (upload.jsp in this case), processing a multipart form in Java without a pre-existing libray is a nightmare.  I've done it, and trust me when I say this: don't.  You have to literally get the form as a big MIME-encoded String, find the MIME part with the uploaded file, and then extract & decode the file.  Don't do this unless you have a lot of time on your hands.  The Jakarta Commons project has a nifty FileUpload class (see linked "source") that will do all the dirty work for you   And since it's from Jakarta Commons, it's an industry standard component you can feel confident using in a production environment.
985771
You can generate this in one line of Perl, Unix scripting, or a small C/C++ program.  Simply write one number per line from your program counter.  You may have to get tricky and use two long ints, but it's not hard.\n\n Realize that your document may be very large, and for most purposes, you don't need a document, just use the variable(s) in your final program.
960959
You can do this many ways.\nI will show you how to do it using the registry and a simple text file.\n\n1) I assume you have a control on your form that is supposed to save the data when it is clicked, double clicked or whatever.\n\n2) The "save" code will go in the appropriate event (click/double click/mouse over/whatever), the "load" code will go in either the form load event or the "Sub Main" of your startup object.  According to your description you want the data to "auto load" when the application is started.\n\nSAVE CODE Example 1:\n    SaveSetting applicationname, "Settings", "Last Name", txtLastName.Text\n    SaveSetting applicationname, "Settings", "First Name", txtFirstName.Text\n    SaveSetting applicationname, "Settings", "Address", txtAddress.Text\n    SaveSetting applicationname, "Settings", "City", txtCity.Text\n    SaveSetting applicationname, "Settings", "State", txtState.Text\n    SaveSetting applicationname, "Settings", "Zip", txtZip.Text\n\napplicationname is the name of your application (duh)\n"Settings" is a literal that can be anything meaningful that you want...such as;"Form1 Settings", "Address Settings", etc\nThe next parameter ("First Name","Last Name", etc.) is a meaningful name for each "thing" you want to save.\nThe last parameter is the actual data that you are wanting to save.\n\nSAVE CODE Example 2:\ndim intFileNum as integer\nintFileNum = FreeFile\nOpen "Settings.txt" for output as #intFileNum \nprint #intfilenum, txtLastName.Text\nprint #intfilenum, txtFirstName.Text\nprint #intfilenum, txtAddress.Text\nprint #intfilenum, txtCity.Text\nprint #intfilenum, txtState.Text\nprint #intfilenum, txtZip.Text\nClose #intFileNum\n\nThe above code open a text file on your default drive and in a default location, generally where you have saved your application.\nIt then writes data to this file one line at a time, no identifiers or anything, just data followed by carriage return and line feed (vbCRLF).\nThe last line flushes the write buffer and closes the file.\n\n\nREAD CODE Example 1:\n    txtLastName.Text = GetSetting(applicationname, "Settings", "Last Name", "")\n    txtFirstName.Text = GetSetting(applicationname, "Settings", "First Name", "")\n    txtAddress.Text = GetSetting(applicationname, "Settings", "Address", "")\n    txtCity.Text = GetSetting(applicationname, "Settings", "City", "")\n    txtState.Text = GetSetting(applicationname, "Settings", "State", "")\n    txtZip.Text = GetSetting(applicationname, "Settings", "Zip", "")\n\nThis is just the reverse of the SaveSetting, however, the last parameter ("") is a default is the setting cannot be found in the registry.\n\n\nREAD CODE Example 2:\ndim intFileNum as integer\nintFileNum = FreeFile\nOpen "Settings.txt" for input as #intFileNum \ninput #intfilenum, txtLastName.Text\ninput #intfilenum, txtFirstName.Text\ninput #intfilenum, txtAddress.Text\ninput #intfilenum, txtCity.Text\ninput #intfilenum, txtState.Text\ninput #intfilenum, txtZip.Text\nClose #intFileNum
64760
I suggest you simple technique.\n\nuse the input box in html like this\n\n<input type = file>\n\nand then this will actually bring you up 2 inputs. One for the button click and you can select the file. This makes the output of this operation as a complete file name with path, come into other textbox.\n\nNow you have to implement a script in either VBScript, ASP, PHP or Javascript to make a ftp connection to a known place ( if possible with other input as user name and password. As you dont want some arbitrary user to use your space for dumping his content ), and then upload it there.\n\nRemember, you cannot do this thing with out scripting.\n\nPHP code will work like this\n\nhttp://www.tizag.com/phpT/fileupload.php\n\n\nEnjoy,\nKranthi.\n\nThanks,\nKranthi.
332370
Yes - just use Word / file/ open / and pick the works format, then resave as Word
832090
Manipulate the inputs using vbscript.\n\nLinked page...\nLog_Type\n=Trim(Request.Form("Log_Type")) \nor\n=Trim(Request.QueryString("Log_Type"))\n\nMain page...\n<form>\n<input type=text name="Log_Type " value=" "> <=%Log_Type%>\n</form>
367348
File --> Save As\n\nEnter the desired file name, where you want to save it, and click "Save".
861278
go to hotscripts.com.. Bunch of good code out there. I generally edit code with a regular editor then upload with SSH/SFTP
587552
Send the response as a file?\n\nSee\nhttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse3.0/html/4344d43e-ceb4-43a9-8f8c-6a3f89f786bd.asp
952493
make one in your word processor, its simple
442588
its just a simple form your talking about, I think most basic editors have them like frontpage or dream weaver. \n\nits simple something like this\n\n<FORM action="http://somesite.com/prog/adduser" method="post">\n    <P>\n    <LABEL for="firstname">First name: </LABEL>\n              <INPUT type="text" id="firstname"><BR>\n    <LABEL for="lastname">Last name: </LABEL>\n              <INPUT type="text" id="lastname"><BR>\n    <LABEL for="email">email: </LABEL>\n              <INPUT type="text" id="email"><BR>\n    <INPUT type="radio" name="sex" value="Male"> Male<BR>\n    <INPUT type="radio" name="sex" value="Female"> Female<BR>\n    <INPUT type="submit" value="Send"> <INPUT type="reset">\n    </P>\n </FORM>
183998
Hello,\n\nI am not sure if you are exactly looking for lines..if not then if you are looking it only as a space to enter data, the use form fields. From the Form Field menu, click on Text Form field. Make the Document as protected. Now peopwle will be able to type in only in the give field.\n\nLife is easier\n\nThanks\nKaushik
500143
right click file - save as - save !
739575
quite simple...\n\n\nCreating a FeedBack Form\n(using SQL Server or MS Access)
1020339
You can use a number of different functions, but I would recommend looking at the STDIO ones:\n\nfopen()\nfclose()\nfprintf()\nfscanf()\netc...\n\nSo you want code something along the lines of:\n\n#include <stdio.h>\n...\nFILE * file = fopen("abc.txt");\nfprintf(file, "Hello %s&#92;n&#92;n", "Your Name Here");\nfclose(file);
503358
Copy and paste the HTML code! Then send