Set fso = CreateObject ("Scripting.FileSystemObject")
Set f = fso. OpenTextFile (server. MapPath ("cache.asp"), 1, True)
If F.atendofstream=false Then
Content = F.readline ()
End If
F.close
If Fso.fileexists (server. MapPath ("cache.asp")) =true
To improve the efficiency of ASP programs, it is sometimes necessary to use SQL Server storage technology in ASP, which is briefly described below. Establishment of stored procedures
Here is a brief description of how to establish a stored procedure
6 SQL Server is a server-level database, the use of more stringent requirements, you must enter a username and password to use.
Function createsqlserverrecordset (computer name, user ID, user password, database name data table or view table or
1, if you need to write and update the database operation, and sometimes set the database Write permission!
2, when updating the database operation, it is best to lock the database, so that there are other people at the same time, there is a
Examples of date and time functions for ASP
You can use date and time functions to get dates and times in various formats
An example of the function syntax
Now () gets the current date and time of the system Dim MyVar MyVar = Today
' MyVar contains
I'm not the boss of PHP, it's the company.
Play or play. NET is not my decision, but also the company to decide
Previously did not touch PHP before, I was using ASP, and then 03 years asp.net very popular ha, began to pay attention to this aspect
In this tutorial, we will use Microsoft's XMLHTTP Request object's Web page remote address from our server. This object is contained in Microsoft's XML DOM component, which may be installed on your server.The traditional Microsoft XMLHTTP object is
ASP detects whether the domain name registers the code
On Error Resume Nextserver.scripttimeout=9999999Function Gethttppage (Path)t = GetBody (Path)Gethttppage=bytestobstr (T, "GB2312")End Function
Function getbody (URL)On Error Resume NextSet
Function Lens (txt, length)
Dim x, Y, II
txt = Trim (TXT)
x = Len (TXT)
y = 0
If x >= 1 Then
For II = 1 to X
If ASC (Mid (TXT, II, 1)) 255 Then
y = y + 2
Else
y = y + 1
End If
If y >= Length Then
txt = left (Trim (TXT), ii-3) & "..."
Exit for
End
Involving procedures:
MS IIS
Describe
A Chinese university student discovers the NT website ASP program password Authentication flaw
With
From: benjurry@263.net
The original text reads as follows:
Very early found that many domestic programmers
There are two files:
Objxml.asp: Test File
ClsXML.asp:vbs class file
Code:
Objxml.asp
Dim objxml, strpath, str
Set objxml = New clsxml
strpath = Server.MapPath (".") & "New.xml"
Objxml.createfile strpath, "Root"
' Or If using an existing XML file:
SQL injection was played by the novice-level so-called hacker masters, and found that most hacking is now done based on SQL injection.
And, hey, who makes this easy to get started, well, don't talk nonsense anymore, and now I'm starting to say if
Overview
A wise programmer once said, "the one constant in computing be change." There couldn ' t be a truer
Statement. This article are about such change, specifically moving from HTML to next generation, XHTML
(Extensible hypertext Markup Language)
Source: www.cpcw.com
A preface
Microsoft Active Server Pages (ASP) is a server-side scripting environment that you can use to create and run dynamic, interactive WEB server applications. Using ASP, you can combine HTML pages, script commands, and
'=================================================' Process name: removehtml (StrText)' Function: Place HTML' Parameter: StrText: Action Object'=================================================Public Function removehtml (strText)Dim RegEx
Set RegEx
Keywords:Asp batch Upload Asp image batch Upload Upload files in batchesAsp file UploadAsp file upload codeBatch upload of php documents,Now, let's look at the code and method for uploading files in batches. First, we use three
Asp file directory and file copy, which I used when writing a system upgrade, is to make the files in the current folder under the system directory, replace the old filesSub fs ()Set fsobject = server. CreateObject ("scripting. filesystemobject
My code is simple'------------------------------------------------------------'Use form submission to generate static homepage code'Make sure your space supports FSO, and the homepage code has less content.'-------------------------------------------
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