473,804 Members | 3,182 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Save input to text files

I need to write a web page to accept some input and then preferably save it
to a unique text file on the hard disk. I'm running the Microsoft IIS web
server on WinXP Pro. I've written input data forms before utilizing other
web servers CGI, but I have no idea about server side scripting, what's
available, or anything about it.

Can someone point me in the right direction?

Thanks,
Ross Levis.
New Zealand.
Jul 20 '05 #1
2 9038
Ross Levis wrote:
I need to write a web page to accept some input and then preferably
save it to a unique text file on the hard disk. I'm running the
Microsoft IIS web server on WinXP Pro. I've written input data forms
before utilizing other web servers CGI, but I have no idea about
server side scripting, what's available, or anything about it.


The default installation on IIS is VBScript and JScript. Those are two
languages within the ASP framework. You can also install PHP or other
languages on IIS. So what you need to do is learn a bit of ASP, and
then you can accept the user input and write it to a text-file. I
suggest you google some tutorials and the like, and if there's still
questions, you look for a good ASP newsgroup.
When it comes to saving, you also may want to look a bit into FSO (the
File System Object).

--
Google Blogoscoped
http://blog.outer-court.com
Jul 20 '05 #2

You could use PHP (http://www.php.net). With PHP it is easy to access both
files and databases from a web page via server side scripting. The same
functionality is also provided by Microsoft's ASP (Active Server Pages)
and JSP JavaServer Pages. To use JavaServer Pages and Servlets you need
to use Tomcat http://jakarta.apache.org/tomcat. There is also the
possibility of using ColdFusion from Macromedia. In any case I
would recommend PHP, and you can integrated with IIS. Look at
the source files for IIS integration instructions.

Regards,

Neil

On Mon, 10 Nov 2003, Ross Levis wrote:
I need to write a web page to accept some input and then preferably save it
to a unique text file on the hard disk. I'm running the Microsoft IIS web
server on WinXP Pro. I've written input data forms before utilizing other
web servers CGI, but I have no idea about server side scripting, what's
available, or anything about it.

Can someone point me in the right direction?

Thanks,
Ross Levis.
New Zealand.


Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
16226
by: Martin | last post by:
Again drawing on the groups experience:- 1. For general file opening and file saving, using VB6, are there any issues with using the FileOpen and FileSave Common Dialog Boxes? 2. Is using the FileOpen and FileSave Common Dialog Boxes the best way to go in general? 3. For Most of my projects I will be using the same types of data input form and report output form, as discussed here recently. Also, the files that are
4
3721
by: Glenn M | last post by:
I have a shared XML file on a server . i also have one xslt file that performs a simple transform on in to view the data. now i want to have another page that lets users modify the shared xml file via some editable controls such as text boxes , option boxes etc. how can i implment this , should i use another xslt file with <INPUT> controls . if so how can i save the result back using the asp.net
13
1542
by: Stacey Levine | last post by:
Ok.. Maybe I am trying the wrong approach. If given a URL to a graphic, I want to save that graphic to a local file. The approach below gets the response, but I can't quite figure out how to save it to a file. In this instance, a file gets created but it only contains the text "System.Io.StreamReader" I have also tried writer.write(reader.ReadToEnd), but the file still displays nothing. Dim URL As String = GraphicURL
0
2413
by: amrhi | last post by:
Hy Guys , Can anybody help me ? I try to make small web database in my unit. Some of fields have on change behaviour to get other data that automatically filled other text field. But when i try to hit "enter" after i fill text field , its automatically save data in my table database . I just want to save data after , i click "save" button. <?php include"session.php"; mb_http_input("iso-8859-1"); mb_http_output("iso-8859-1"); $tgl=$_POST;...
3
3688
by: Angus | last post by:
I have a web page with a toolbar containing a Save button. The Save button can change contextually to be a Search button in some cases. Hence the button name searchsavechanges. The snippet of html is: <a class="searchsavechanges btn btn3d tbbtn" href="javascript:" style="position:static"> <div id="TBsearchsavechanges">Search</div> </a>
0
1618
by: lety28 | last post by:
I have a script "licence.cgi" write in python which generate text files and I would like that the user click on a button and he can download this file. _1er solution:_ I found in my research that I have to add the Content-Disposition... So I created an other script call /download.cgi /and I obtain a popup "save as" but how the script "licence.cgi" can give the variable filename to the script download.cgi? ...
1
1658
suriacute85
by: suriacute85 | last post by:
Hi, I'm very new in web programming. i have afew question here. 1. i have a table which have a data, in 3 lines. now i want to save the data in the 3 lines into the database access. can i do that? if yes, will anyone shows me how to do that? this what i means ; <table width="816" height="158" border="2" cellpadding="0" cellspacing="1"> <tr> <td width="109"><div align="center"><strong>Jenis Beras </strong></div></td> ...
1
3402
by: ylekot88 | last post by:
Hello. Yes, I am a newbie to Javascripting for a whole 3 weeks now. I have been given an assignment in a book that is horribly worded, and I have spent about 30 hours trying to figure out what I am doing wrong. The assignment itself is from the "javascript new perspectives" book, and gives about 25 steps stating what you need to do next, not really giving clear directions. What I can gather: the book gives an .htm pg, a .css, & a .js file which...
1
4887
by: chennaibala | last post by:
can any one send me mutiple image upload program and save the file name with extension in mysql table.we must cheak uploaded file type like bmp or any image file while uploading. i develop program,which can upload many file in folder.problem is,am unable to save my file name in to database.because i used same name for all input file type as file. i dont know get name of file.below i presented my coding for ur view.fed up with my coding..pls...
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9577
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10569
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10325
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10315
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7615
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.