but i mean request.form for example
if a user typed in Hello
<HTML>
<BODY>
<FORM METHOD=POST ACTION="bingo1.asp" id=form1 name=form1>
<INPUT TYPE=text NAME=item><BR>
<INPUT TYPE=SUBMIT VALUE="Click Me" id=SUBMIT1 name=SUBMIT1>
</BODY>
</HTML>
<%@ Language=VBScript %>
<% Option Explicit %>
<%
Dim fso, file, folder
Set fso = CreateObject("Scripting.FileSystemObject")
set folder = fso.CreateFolder("w:\BoSeo")
%>
<%
Dim strVar1, strVar2, i
strVar1 = Request.Form("item")
For i =1 to len(strVar1)
Response.write mid(strVar1,i,1) & "<BR>"
Next
'i mean using the file sysem object, write the name of this file to the screen. the contents of te file look like
H
E
L
L
O
<%
Set file = fso.CreateTextFile("w:\BoSeo\bingo.txt")
strVar2 = Request.Form("item")
For i =1 to len(strVar2)
Response.write mid(strVar1,i,1) & "-"
Next
'using the contents of this file, i create a second file named bingo.txt and write out the contents into the file so it looks like H-E-L-L-O
%>
|