Web
There is a real problem in maintaining the company's internal Web site--mis Supervisor requests that some technical documents be placed on the Web page, and can only be browsed by MIS employees. This involves the question of how to keep a Web
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
Function
IsDate () FUNCTION: Determining whether an object is a date, returning a Boolean value syntax:isdate (expression) & nbsp; Arguments:expression is any valid expression. EXAMPLE: strtest = "8/4/99" response.write
may be with the development of network security technology, the quality of administrators are improving, in the use of access+asp system, for the database was downloaded, to the MDB to ASP or ASA. Do not say directly to change the suffix, directly
Upload | No component 1. library file (upload.inc.asp)
Dim Oupfilestream
Class Upfile_class
Dim Form,file,version,err
Private Sub Class_InitializeVersion = "No component upload class Version V1.0"ERR =-1End Sub
Private Sub Class_Terminate' Erase
Random | show
'----------------------------------------------------------------------------------------
' When forwarding, please keep this declaration information, this statement does not affect your display speed!
' *************************
Visit | page when you design a Web page, you often encounter certain pages with restricted access. For example, some products of a company are only allowed to be browsed by one or some suppliers or customers. So how do we achieve this? In this paper,
Some days before the server sent a number of posts, want to ask about the path of the problem, but also has not replied. In fact, my concept of the path has been relatively vague, and then also introduced the ServerVariables data collection, so that
Program
Send Short Message
var temp= "";
function Check ()
{
if (Temp==form1.message.value)
{
Alert ("You cannot enter a duplicate statement");
Temp=form1.message.value;
return false;
}
Else
{
Temp=form1.message.value;
return true;
}
}
Cache
ASP from the release has been 7 years, the use of ASP technology has been quite mature, since the Microsoft launched the ASP.net after the gradual cessation of the ASP version of the update. But because a lot of people are still used to using
function Abs (number)
Returns the absolute value.
Array (arglist)
Creates an array.
ASC (String)
Returns the ANSI code for the first character of a string.
ATN (number)
Returns the inverse chord value.
CBool (expression)
Converts to a
The advanced AspJpeg is a very powerful picture processing component, the pure English version. However, there has been a free version and cracked version, but the detailed and in-depth introduction of the article is not much, even if there is only
asp.net| Static
Environment: Microsoft. NET Framework SDK v1.1 os:windows Server 2003 Chinese version asp.net generate static HTML pages to generate static pages used in ASP FileSystemObject objects!
In. NET involves this kind of operation is System.
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
Pagination | tips
"Call Example' Dim Int_rpp,int_start,int_shownumberlink_,str_nonlinkcolor_,tof_,top10_,top1_,ton1_,ton10_,tol_,showmorepagego _type_,cpageno' int_rpp=2 ' Sets the number of display per pageNumber of ' int_shownumberlink_=8 '
Coding | functions | converting
1. ' UTF to GB---convert UTF8 encoded text to GB encoded textfunction UTF2GB (UTFSTR)
For Dig=1 to Len (UTFSTR)' If the UTF8 encoded text starts with a%, it convertsIf mid (utfstr,dig,1) = "%" Then' UTF8 encoded text
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
program | Calendar
' The following is the specific code implemented by this calendar algorithm in ASP
' First decide whether to specify a year and month, no to display according to the current year and month
If Request ("reqdate") = ""
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