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
%>
On 01/08/05, 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]
>
>
>
>
>
>
> SPONSORED LINKS
> Programming languages C programming language Computer programming languages
> Java programming language C programming language History of computer
> programming language
> ________________________________
> YAHOO! GROUPS LINKS
>
> Visit your group "AspClassicAnyQuestionIsOk" on the web.
>
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> ________________________________
>
--
Jerome West
Webpastor - Blessed to be a Blessing
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hc324ei/M=362329.6886308.7839368.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1122898657/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</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/