Some time ago wrote a multiple-field fuzzy search function (similar to Baidui). The function code is as follows
'==================================================
' Function name: Keyword_sousuo
' function: Generate SQL query criteria
' Parameters:
run carefully ah, the crash don't blame me! This is used against those who do not like to test your program there is no SQL injection hole of the kind of people feel more cool haha!! I thought it would be a bit of a little talent! I can see this
Most of the virtual hosts now disable the ASP's standard components: FileSystemObject, because this component provides the ASP with the formidable file system access ability, may carry on the server hard disk any files to read, writes, copies,
When you find Guests in the Select Group dialog box that pops up, click Add, the group appears in the text box below, and then click OK:
What appears is the following figure, click OK to close this dialog box:
Open Internet Information services to
function Judgepararegular (IntID)
If intid<> "" and IsNumeric (IntID) Then
Judgepararegular=intid
Else
Response.Write "Input Error!" "
Response.End
End If
End Function
Intfilesize=judgepararegular (Request.QueryString
Here are some of the less common but very cool features:
FSO features that are rarely understood
GetSpecialFolder method returns the path to a specific Windows folder: Windows installation directory; Windows system directory; Windows Temp
Option Explicit
Dim Sourcefile,ipaddress,objargs
Const destfile= "Tempfile"
Const ForWriting = 2
Dim Text
Dim Fso,objnet,serviceobj
Dim Txtstream, Txtstreamout
Set Objargs = wscript.arguments
If Objargs.count = 2 Then
Sourcefile=objargs
Here are some of the less common but very cool features:
FSO features that are rarely understood
GetSpecialFolder method returns the path to a specific Windows folder: Windows installation directory; Windows system directory; Windows Temp
function Bianli (path)
' Initiate
Path = Server.MapPath (path)
Set Fso=server. CreateObject ("Scripting.FileSystemObject")
Set OBJFOLDER=FSO. GetFolder (PATH)
Set objfiles = Objfolder.files
' Put file name and file path into Thefiles array
int
Set Fso=server. CreateObject ("Scripting.FileSystemObject")
On Error Resume Next
Set OBJFOLDER=FSO. GetFolder (PATH)
Set Objsubfolders=objfolder.subfolders
For each objsubfolder in Objsubfolders
Nowpath=path + "\" + objsubfolder.name
Text Searcher (VBS) in the same folder
Please enter the keyword to search for [included in the body] (color= #000000 size=3> Ignore case )
[mo bo
On January 5, 2003]
Some people when the crawler is a treasure, to the present still tnd someone in the money, strongly BS these guys
Really Maybe it's a little bit worse on the bottom, huh?
Below this did not write the warehousing function, has been to this step, the
A lot of people and I want this piece of things, in fact, is a very simple code, the bottom is that they take to change to function call can be
Dim Stra,strb,isok
Stra = "Test,you,fuck,money"
' keyword content that needs to be filtered
STRB =
How do I use a good transaction in a database?
In the actual operation of the ASP, this situation always happens, such as in the Bank, from my account to Feiwenhua account transfer,
My account has been marked out, but due to the failure of the bank
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