The article translates from ASP101
Operating environment, NT (SERVER, WORKSTATION), W2K
Need to install WSH2.0 or later on the server
If your system does not currently have WSH2.0 installed, you can download it from the following
The code is as follows
Copy Code
/** Author:maben* date:2014-08-06* @szDelimiter: Split character* @strContent: String to find* @arrDest: Save the split array*/ Void Explode (TCHAR szdelimiter, CString strcontent, cstringarray&
The advantages of using the acquisition program are: no maintenance site, because the data acquisition program from other sites, it will be updated with the site, you can save server resources, general acquisition program on several files, all Web
And the Easp class provides a lot of practical ASP common process and method, can simplify most ASP operation. Only the VBScript version is currently available, and the JScript version may be available in the future.
Easyasp v1.5 (updated in 2008-10-
1, the establishment of non-standard directory: mkdir images. \
Copy ASP Trojan to directory: Copy c:\inetpub\wwwroot\dbm6.asp c:\inetpub\wwwroot\images. \news.asp
Accessing ASP Trojans via the Web: http://ip/images../news.asp?action=login
How to
Web.config file Lookup rules:
(1) If there is a Web.config file in the current page directory, see if there is a node name to look for, if there is a return result and stop looking.(2) If the Web.config file does not exist in the directory where
The use of the Split function in ASPSplit intercept stringJust look at a few examples to understand.
Copy Code code as follows:
Mystr= "1,2,3,4,5"
Mystr=split (MyStr, ",")
For i=0 to UBound (MYSTR)
Response.Write MyStr (i)
Windows 2003 operating system:
[1] Xeon High speed server, high quality data center, sharing 100M bandwidth
[2] real-time files anti-virus protection, hacker intrusion detection, IIS application firewall
[3] Automatic resistance to red code, Nimda
Web development has been used to page control, but also hands-on implementation, the use of user-defined controls.
After the page is loaded, the data load uses the delegate, and the implementation is registered with the page that uses the paging
It was used to log log4net, but it was used on. net2.0. The recent use of new projects is vs2015 development, to use the log4net, today will be a. NET 4.0 to use the Log4net log error logging steps to share to everyone.
1, first to
The Repeater control provides the greatest flexibility in the three ASP tutorials. NET Data Web controls: The HTML markup It renders can be specified. The DataGrid or DataList automatically contains the developer-specified content in the preset HTML
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 conflict.
ASP to judge telephone number and email address program
Function IsValidEmail (email)Dim names, Name, I, CIsValidEmail = Truenames = Split (email, "@")If UBound (names) <> 1 ThenIsValidEmail = FalseExit FunctionEnd IfFor each Name in namesIf Len
Class CreateexcelPrivate Createtype_Private Savepath_Private Readpath_Private Authorstr REM Set authorPrivate VERSIONSTR REM Set versionPrivate SYSTEMSTR REM Set system namePrivate sheetname_ rem Set table namePrivate Sheettitle_ REM Set
Simplest verification of phone numbers and mobile phone numbersVerification phone number: add d {3, 4}-d {7, 8} to validationexpression in the regularexPRessionvalidator attribute}Mobile phone number: ^ [1] d {10}This is not strict, as long as the 11
CauseToday, I tried to set the Silverlight program to App. xaml in the referenced class library. The result showed that it was not feasible and the following error occurred:SCRIPT5022: Unhandled errors in the Silverlight applicationCode 2103Category:
The code is as follows:Copy code HTML webpageOr ASP web pageResponse. Expires =-1Response. ExpiresAbsolute = Now ()-1Response. cachecontrol = "no-cache"PHP webpageHeader ("Expires: Mon, 26 Jul 1997 05:00:00 GMT ");Header ("Cache-Control: no-cache,
Access code for cookies in asp tutorial. net c #As long as no expiration time is set for the cookie, the cookie will automatically expire when the browser is closed.Cookie Creation:Create a username cookie on the client. Its value is gjy and its
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