Multiple scripting features supportWe provide different server, support HTML, ASP, asp.net1.0, asp.net2.0 and PHP a variety of scripts, make your choice more flexible!Database feature SupportSystem full support access, MSSQL, MySQL and other
Price 0 yuan/yearWeb space 30M can bind domain name 3IIS concurrency number 50 CPU usage not LimitedBound subdirectory does not support network traffic not LimitedFile size does not limit file type unrestrictedComplimentary database withoutGift
This kind of program on the internet a lot of, but to practice "regular expression" is also good, so just write this, now only on the code (functions, keywords, objects, strings) coloring, next to the function block to add folding effect (. NET code
In these examples, we will create and delete subdirectories within the Cgi-bin directory on our site. Many people often we will have permission to perform this action not only in this directory.
Create folder name "Www.111cn.net"
ASP FSO Folder Folders object
The folder object is used to return information about the specified folder.
The Folder objectThe folder object is used to return information about the specified folder.
The folder object of the same property and
ASP Getting Started Tutorial: ASP FileSystemObject objects
The FileSystemObject object is used to access the file system on the server.
Let's illustrate the following examples.
Set fs=server.createobject ("Scripting.FileSystemObject")
1. How to use ASP to determine the virtual physical path of your website
Answer: Using the MapPath method
The physical path to this virtual website is:
2. How do I know the browser used by the user?
Answer: Use the Request object
Here are some of the less common but very cool features:
The FSO features are rarely understood GetSpecialFolder method returns the path to a specific Windows folder: Windows installation directory; Windows system directory; Windows Temp directory
Never underestimate the importance of properly configuring security settings. If you do not configure your security settings correctly, you will not only cause your ASP application to be unnecessarily tampered with, but will also prevent legitimate
5. return value
The handling of function return values differs from the processing of stored procedure return values, which often leads to confusion. In a function, you often return a Boolean value to indicate whether the function is running
function IsValidEmail (email)Dim names, Name, I, CIsValidEmail = Truenames = Split (email, "@")If UBound (names) <> 1 ThenIsValidEmail = FalseExit functionEnd IfFor each name in namesIf Len (name) IsValidEmail = FalseExit functionEnd IfFor i = 1 to
We often explore the use of ASP, and do not use other build can achieve file upload, so as to develop a mail system to support mail attachments, the answer is yes. Please see:
The following is the page to send the mail, the mail account number is
My site is now used. I've experimented with it, mostly.
This is the page to process the login information
The submitted form can be found on the front page of my site. http://www.chinaok.net
response.expires=-100
Response.ExpiresAbsolute = Now ()-10
'************************************************
' This file displays the contents and attachments of the message
' Author: Awayeah
' E-mail: awayeah@163.net
'************************************************
%>
Read Mail
SET pop3=session
microsoft Index Server: Query Language
Query Language
Search a Web site for any word or phrase (for example, the Execute Query button in the query table example) by typing a word or phrase in the query table, and then clicking the button to
any word except the asterisk (*), comma (.), question mark (?) and vertical bar (|) Fudumo that matches itself.
Regular expressions can be enclosed in quotation marks ("), if they contain spaces () or closing brackets (), you must enclose them in
ASP has five built-in (built-in) objects: Server, Request, Response, Application, and Session. Now we will explain them through examples. The first is the most commonly used Response object.Example 1 use Response to output HTML documents on the
The following is the function file for obtaining the verification code. Save the file as GetCode. asp.Option ExplicitResponse. buffer = trueNumCodeFunction NumCode ()Response. Expires =-1Response. AddHeader "Pragma", "no-cache"Response. AddHeader
I. Implementation methodA log writing function provides several parameters. You can use this function to record logs. Logs are recorded in the xml file. The log file is generated by date. A new log file is created every day. The file name is yyyy_mm_
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