'*************************************
' This file is used to download attachments
' Author: Awayeah
' E-mail: awayeah@163.net
'*************************************
Dim FSO, Tempfile
Set fso = CreateObject ("Scripting.FileSystemObject")
Dim Tfolder,
This sample script uses the CDO as NTS Library to
Read e-mail for a specific user.
Leon Braginski & Matt Powell (c)
-->
If (Request.ServerVariables ("request_method") = "POST") Then
Name = Request.Form ("name")
Email = Request.Form ("ename")
Else
'
This sample script uses the CDO as NTS Library to
Send email to a specific user.
Leon Braginski & Matt Powell (c)
Note: ' To ' is ' a reserved word, so we added ' a underscore to it.
-->
If (Request.ServerVariables ("request_method") = "POST") Then
We often explore the use of ASP, and do not use other build can achieve file upload, so as to develop a mail system to support mail attachments, the answer is yes.
The following is the page to send the mail, the mail account number is the employee,
What I said last time is how to use ADSI to manage Web server this time to discuss how ADSI manages NT
Using ADSI to manage IIS requires OP4
For an NT to be ADSI managed, you need NTLM
NTLM provides the following objects: Domain, Group, and
Author: Gan Ganping
The basics are discussed, and then there is the question of permission permission. FSO to create its user account permissions to run, in other words, if someone from the Internet
To access your page, the Internet account creates
Read message contents and attachments (showbody1.asp)
'************************************************
' This file displays the contents and attachments of the message
' Author: Awayeah
' E-mail: awayeah@163.net
'***********************************
Often we can see when connecting to a database, opening a recordset as follows:
Rs. Open strSQL, Conn,adopendynamic, adlockpessimistic
When you type "," a cursor type or a list of lock types appears later.
Sometimes we rs.open directly to simplify
Using ASP (Active Server Page) to compile personal webpages has become a dream of more and more personal website authors. ASP is a web scripting language. Its most important feature is database-driven and dynamic interaction. The introduction of ASP
Many web designers may face the following problem: design a form for users to input and create the user's input content to the database, however, if the content entered by the user is not of the type (number field but text input) or the content
'Asp Code will run on server and Make HTML Page'Java Script will run on Client Side and Change the background color'According to movement of Mouse%>Dim I1, I2, I3 'looping variables for RGB ColorFor I1 = 0 to 15 step 3For I2 = 0 to 15 step 3For I3 =
Save the data record to the file:Set fs = server. CreateObject ("Scripting. FileSystemObject ")FilePath = server. MapPath ("backup.txt ")OldFilePath = server. MapPath ("oldbackup.txt ")Fs. DeleteFile OldFilePath, trueFs. MoveFile FilePath,
Conditions required for using ASP in Flash:1. Your ISP server must support Active Server Pages and preferably databases.2. You should install Flash 43. You need a preliminary understanding of ASP.OK. The following describes how to use it:Database
In ASP, the Request object is a very important object for obtaining data submitted by the client. You are also very familiar with it.Even so, some people often ask me what are the differences between the following methods and how to write
This program is a special method. The scope of use is relatively limited, and there is a certain risk. Some methods in asp backdoors are used for reference. The following is the program code.Dim remoteaddrIf Request. ServerVariables
' problem not handledXmlfile = "???. Xml"Set xml = Server. CreateObject ("MSXML. DOMDocument ")Xml. async = falseXml. load (xmlfile)Private function showxml (node)Dim tempstrFor each I in nodeIf I. nodeType = 1 thenTempstr = "" & I. nodeName &
'The following is the asp program for voting.If Request. ServerVariables ("http_method") = "POST" thenIf Request. Form ("voteradio") <> "then'The processing is only performed if the user chooses to think that the document is well-written.Set rec =
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service