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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

configuration file read

Status
Not open for further replies.

rtnMichael

Programmer
Aug 5, 2002
152
US
Hey guys,
I want to read a config file to populate data fields in an ASP form. How do I read the file and send the information to the form? Is that even possible in Javascript? If not, then how would be the best way to do it?

Thanks
Mike
 
You could write the configfile out as a javascript snippet on the server.

Then include that JS file which will create the config variables and make them accessible to javascript

If you want to read an arbitrary config file on the server that is not javascript based (like a webserver config or something ) javascript won't help you, use some serverside language that ASP can access.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top