I have a form posting data to an Active Server Page that then writes the form field values to a file. The form sends the name of the file to ASP (I wish to send different filenames depending on who is using the form)
It checks for the existence of a filename which is based on the current date......if it is not there it creates and write/appends to the file...if it is there it just write/appends to the file.
The only problem I have is that I don't know how to specify that the file be created in a directory on the Webserver.
Currently, it demands a path on the local client.
I have IIS running on my home PC.
Is this what the MapPath comamnd is about ?
Thanks.
It checks for the existence of a filename which is based on the current date......if it is not there it creates and write/appends to the file...if it is there it just write/appends to the file.
The only problem I have is that I don't know how to specify that the file be created in a directory on the Webserver.
Currently, it demands a path on the local client.
I have IIS running on my home PC.
Is this what the MapPath comamnd is about ?
Thanks.