function ' Determines whether the filename is legal
Function isfilename (afilename)
Dim serrorstr,inamelength,i
isfilename=true
Serrorstr=array ("/", "\", ":", "*", "?", "" "", " Inamelength=len (afilename)
If inamelength Isfilename=false
Asp.net| Skills | request | page
Sometimes when I go to the admin page, the session and the cookie disappear, we want to return to the login page, and we still want to return to the page where we just managed the operation after login. This is a
asp.net a group of people who speak the same language, plan to build a towering tower to reach the heavens, to prove the strength of ethnic unity, the tower will soon take shape. This may disturb the heavenly God, he thought that this person and the
Resolve | data | database | problem | When you perform a query for a database, you often encounter situations like this:
For exampleYou want to query his user name and his password in a user database, but it happens that the user has a special
Attack | Design run test.htm after password login test ~!
-------------------------test.htm code is as follows:
marginheight= "1" border= "0" scrolling= "no" >
--------------------------test.asp code is as follows:
' This code is only for
Online Rem #####################################################################################
Rem # Online Upgrade class declaration
Class cls_oupdate
Rem #################################################################
Rem # Description: ASP
Asp.net|debug| Program | error
Symptoms
When you are in debug a asp.net application in Visual Studio. NET, your may receive the following error message:
Error while trying to run project:unable to start debugging on the Web server. The project is
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
Asp.net| Date | experience | Conversion date to a string is almost always the work of every project, no matter what development tool you use. Using convert or cast in SQL Server makes it easy to convert dates into strings of various formats, in
Program | design | statistics | online | When browsing the Web, you can often see a number of online numbers of people on the current site who are xxx. How to use ASP to do one? First of all, the analysis of its practice, in general, these online
Asp.net| Cache | page Static page All content is saved in server memory. When there is another request, the system outputs the relevant data in the cache directly until the cached data expires. In this process, the cache does not need to go through
asp.net
This uses the Asp.net2.0 TreeView control to implement some of the permissions tree's functions in conjunction with JavaScript.Suppose there are three rules in the permission tree:1, the node can be accessed, then his parent node will also
asp.net|cache| Performance | optimization
Although it is now a broadband era, the kitten has been away from us, as Web application developers, we still have the responsibility and obligation to continuously through technical means to optimize the
Chat room Chat Room You must have been there, but would you like to set up your own chat room? In fact, this is not difficult, the Active server script provides the Application object and the Session object, and the Application object represents an
Tips | Web page
To use the ServerVariables property of the Request object, it is used to obtain the value of the environment variable. The syntax used is: request.servervariables (variable), "variable" means the name of the environment variable,
Asp.net|dreamweaver
Recently I saw on the forum, many people asked about the use of DW development asp.net many problems, such as the inability to compile files, DW contains server behavior errors, and so on. Now I'll explain some of the questions
Fans | news | functions | Web page
ASP Filter HTML code
Function removehtml (strhtml)Dim objRegExp, Match, MatchesSet objRegExp = New RegexpObjregexp.ignorecase = TrueObjregexp.global = True' Take the closed <>Objregexp.pattern = ""' to matchSet
function | text box
Function Requesttext (Textstring,texttype,textname,textnumbermost,textnumberleast)' TextString gets the value in the text box' Texttype set the type of text box name, such as input for 0,textarea 1' Textname the name displayed
Form validation
In the ASP program we often ask users to fill out a form, and then send the button directly sent to us, today this program is to limit the content of the form, and then sent to us.
Just a simple example, I hope to be useful for
dreamweaver| Program
1. In the site of the right key to create a new file login.asp used to do login page; Similarly, previously had built and database connection file conn.asp. So in the panel "application"----"database" label inside
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.