Using ASP to implement the Code batch modification program, FSO related
is due to work need to do a lot of code to modify the small things, take out to share with you
the type of file currently available for processing:. ASP. inc. htm. HTML
'*************************************
' 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
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,
ASP use the FSO to generate HTML pages, this article is my sophomore wrote, is the use of the ASP with the component FSO to upload the user files on the production of HTML files used, it is also a good judge of the existence of the file name, and so
' I wrote a function that traverses the directory and the files in the directory,
%>
function Bianli (path)
Set Fso=server. CreateObject ("Scripting.FileSystemObject")
On Error Resume Next
Set OBJFOLDER=FSO. GetFolder (PATH)
Set
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
Author: Gan Ganping
Now there are some user information saved in the file, just like a simple database. Suppose a user wants to know all of the visitors, from the login
Separate the related parts from the information in the note, because there is no
Engineering name Flysoft class module Image.cls
Option Explicit
'*****************************************************
' CSDN VB version online (Tornado 3.0 Smile Proud Lake)
' 2005-6-30 Day modified part of code
' Name: Thumbnail watermark
ASP commonly used functions, I hope to be able to use.
Dim db
db= "Dbms.mdb"
'******************************************************************
' Execute the SQL statement, do not return a value, the SQL statement best is as follows:
' Update table
The name of the DLL project is NN, the name of the class is TT
Option Explicit
Function test () as String
TEST = "TEST!!!!"
End Function
Public Function Getconn () as ADODB. Connection
Dim Conn as ADODB. Connection
Set conn = New ADODB. Connection
I found a lot of friends, all said debugging ASP's components is very cumbersome to recompile the DLL to restart the machine first
Well, it doesn't have to be that much trouble
Running Iisreset,iis will reboot (different from the site reboot), all
Author: Gan Ganping
You might think: OK, now I know how to write a file. But can you do more? Here's a try to create a search function for your Web site.
The key to building a search engine is recursion. Basically, write a section of code to search
7.4.2 VBScript error handling
In VBScript, you can make the script interpreter not handle any errors it finds, and continue to run the next statement using the On Error Resume Next statement. Once this statement has been processed, the script engine
Using the ServerVariables Collection
When discussing the content of the request object, one of the collections to be studied is the ServerVariables collection. This collection contains a combination of two values, one that accompanies the page
(4) Delete virtual applications
Clicking the Remove button does not really delete the entry in Internet Services Manager. Instead, you convert an existing virtual application to a virtual directory. This directory has a "folder" icon with a blue
' 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 variable gets the current published storyDim xchapterStrfilename = server. MapPath ("story.txt ")Set conlink = server. CreateObject ("MSWC. NextLink ")Ith = conlink. GetListCount ("story.txt ")If cint (ith)> 0 thenThe number of links in 'sale
Last one: the chatbot is used to block people who do not want to see admin/hideuser. asp.Whoto = request. form ("whoto ")User = request. form ("user ")Screen = request. form ("hdish ")Chatdata = application ("chatdata ")Select case screenCase
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