PDA

View Full Version : Desperatly need help on something!


sachit64
10-12-2003, 07:06 PM
At my coop position at Nortel Networks, I need to create something they call cLevel Maps, where employees can log onto a webpage, enter the info and upload it to the server.

The thing is, I don't know how to do forms in ANY language (don't know many). They said they needed it done in VisualBasics (I'm guessing asp) and thought I'd ask for you help here.

Can someone quickly make the start of the script for me, and I'll edit how I need it?

http://www.geocities.com/sachit64/nortel.html

As you can see, I have many variables. All I need you to do is make a script which takes those variables and adds it to a txt document. I'll then rearange all the variables to show they should be.

Can someone PLEASE help me?

-s64

gish
10-12-2003, 07:52 PM
this should posy should be in ASP, or HTML at the least
----
but regardless,

If you use ASP
either jscript or VBScript, you need to use the
Server.CreateObject("Scripting.FileSystemObject") command to create the file system object. from here you gather the form variables


var sName = "" + Request.Form("FName")
// then write them to the file you want to use.
var fs = Server.CreateObject("Scripting.FileSystemObject")
var a = fs.CreateTextFile("c:\testfile.txt", True) //true will allow access to read only files
a.WriteLine (sName)
a.Close()