Hola
A ver
a.html
Código HTML:
Ver original<form action="a.asp" method="post"> <input type="text" id="txt" name="cam_form" value=""/><br /> <input type="text" id="txt" name="cam_form" value=""/><br /> <input type="text" id="txt" name="cam_form" value=""/><br /> <input type="text" id="txt" name="cam_form" value=""/><br /> <input type="text" id="txt" name="cam_form" value=""/><br /> <input type="text" id="txt" name="cam_form" value=""/><br /> <input type="text" id="txt" name="cam_form" value=""/><br /> <input type="text" id="txt" name="cam_form" value=""/><br /> <input type="text" id="txt" name="cam_form" value=""/><br /> <input type="submit" value="Enviar" />
a.asp
Código ASP:
Ver original<%
Dim Arr() ' Valores de todos los campos recibidos
For Each campo in Request.Form
valCampos = valCampos & Request.Form(campo)
Next
division = Split(valCampos, ",")
for i = 0 to UBound(division)
Redim preserve Arr(i+1)
Arr(i) = Trim(division(i))
next
for i = 0 to UBound(Arr)-1
Response.Write Arr(i) & "<br />"
next
%>
Suerte