I have an asp file that I need to extract all the names of controls/fields on the form. i.e. name="address1" I need the address1 pulled out and put in a text file.
To get all the item in a FROM you can you a variation of the following
For i = 1 To objRequest.Form.Count
Response.Write objRequest.Form.Key(i)
Response.Write " - "
Response.Write objRequest.Form.Item(i)
Response.Write "<br />"
Next
Then just you the stand FileSystemObject to write to a file
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.