| 
          
           | Gönderen: 20-Kasım-2007 Saat 22:28 | Kayıtlı IP |   |  
           | 
 |  sedatuysal52  POST metodu genellikle Üye Kayıt formları gibi sayfalarda uygulanılır.post metoduna şöyle bir örnek vereyim  kolay gelsin   <% @LANGUAGE=VBScript %><html><head>
 <title>Form Sayfamız</title>
 <meta http-equiv="Content-Language" content="tr">
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
 <meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
 </head>
 <body>
 <%Dim strAdiniz
 Dim strSoyAdiniz
 Dim strMesajiniz
 Dim strDuzMesaj
 If Request.ServerVariables("CONTENT_LENGTH") <> 0 ThenstrAdiniz=Trim(Request.Form("Adiniz"))
 strSoyAdiniz=Trim(Request.Form("SoyAdiniz"))
 strDuzMesaj=Trim(Request.Form("Mesajiniz"))
 strMesajiniz=Replace(strDuzMesaj, VbCrlf, "<br>" & VbCrlf)
 %>
 Formdan Gelen Bilgiler<hr>Adınız : <%=strAdiniz%><br>
 Soy Adınız : <%=strSoyAdiniz%><br>
 Mesajınız : <%=strMesajiniz%><br><%
 Else %>
 <form action="<%= Request.ServerVariables("SCRIPT_NAME") %>" method="POST"> Adınız : <input type="text" name="Adiniz"><br> Soyadınız : <input type="text" name="SoyAdiniz"><br> Mesajınız : <textarea name="Mesajiniz" rows="2" cols="20">Mesajınız</textarea><br> <input type="submit" name="Gonder" value="Gönder"></form><%
 End If
 %>
 </body>
 </html>
 
 Düzenleyen greyder  20-Kasım-2007 Saat 23:53
 |