FORM POST




<%@ LANGUAGE = VBScript %>
<% Option Explicit %>
<%
Dim Stringa1, Stringa2, Stringa3
Stringa1 = Request.Form("cognome")
Stringa2 = Request.Form("nome")
Stringa3 = Request.Form("email")
%>
<HTML>
<BODY>
<H3>I dati che hai inserito sono </H3><HR>
Cognome : <% Response.Write Stringa1 %><BR>
Nome : <% Response.Write Stringa2 %><BR>
E-mail : <% Response.Write Stringa3 %><BR>
<HR>
<FORM ACTION="Registra.asp" METHOD="post">
<INPUT TYPE="submit" VALUE="Conferma">
</FORM>
</BODY>
</HTML>

oppure

<body>

<h1>The form method="get" attribute</h1>

<form action="/action_page.php" method="get" target="_blank">
<label for="fname">First name:</label>
<input type="text" id="fname" name="fname"><br><br>
<label for="lname">Last name:</label>
<input type="text" id="lname" name="lname"><br><br>
<input type="submit" value="Submit">
</form>

<p>Click on the submit button, and the input will be sent to a page on the server called "action_page.php".</p>

</body>
</html>










( formpost.html )- by Paolo Puglisi - Modifica del 17/12/2023