Here is an example
<%
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Const TristateUseDefault = -2
Const TristateTrue = -1
Const TristateFalse = 0
%>
<%
Set objFS=Server.CreateObject("Scripting.FileSystemObject")
if objFS.FileExists(server.mappath("../logs") & "\DeleteUser.txt") = 
True then
Set objTextS = objFS.OpenTextFile(server.mappath("../logs") &
"\DeleteUser.txt", ForAppending, False, TristateFalse)
else
Set objTextS = objFS.CreateTextFile(server.mappath("../logs") &
"\DeleteUser.txt", False, False)
end if
objTextS.WriteLine "" & Date & "," & strUser & "," & strIUser & "," &
strFirst & "," & strLast & "," & strType & ""
objTextS.Close
%>

--- In [email protected], ASP Programmer 
<[EMAIL PROTECTED]> wrote:
> 
> hi all...
> 
> i just want to know if anyone here know how to save asp output to 
text file automatically.pleeease help me...
> 
>               
> ---------------------------------
> Anda ber-Yahoo!?
> Kini dengan simpanan sebanyak 1GB
> http://my.mail.yahoo.com/
> 
> [Non-text portions of this message have been removed]





------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hl94abu/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1122899031/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to