Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading strings from an ini file

Status
Not open for further replies.

fergmj

Programmer
Feb 21, 2001
276
US
I have an application that stores info in an ini file in this format:

[location one]
33="11:00:00 PM", "11:30:00 PM", "WRC", "4", "ftplocation"

Obviously, the strings don't make a lot of sense to anyone but me so i need a way for a user to edit them. I'd like to put it into a web page and when they change the strings, save the changes back to a web page.

Does anyone know how to do this?

Thanks.

Mindy
 
The simplest way would be to use a FORM and presnt the data in structured fileds and have them modify it. When the form is then posted back to the server, the recieving page could then modify the file to have the correct parameters. This can be done using ASP and the FileSystemObject, or CGI using PERL, or any of the standard CGI/ASP/JSP/ColdFusion environments.

James :) James Culshaw
jculshaw@active-data-solutions.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top