Forums
This topic is locked
collecting all form post variables
Posted 26 Apr 2005 14:26:02
1
has voted
26 Apr 2005 14:26:02 adam partridge posted:
is there a way ofcollecting all posted form values and names and displaying them on an asp page ? other than requesting the exected variable namesEdited by - adampartridge on 26 Apr 2005 14:26:57
Replies
Replied 26 Apr 2005 14:46:54
26 Apr 2005 14:46:54 adam partridge replied:
its ok figured it out :
<%
strBody = ""
For Each strItem in Request.Form
strBody = strBody & strItem & ": " & Request.Form(strItem) & vbCrLf
Next
%>
<%
strBody = ""
For Each strItem in Request.Form
strBody = strBody & strItem & ": " & Request.Form(strItem) & vbCrLf
Next
%>