If you want to implement HTTP://WWW.KNOWSKY.COM/HELLO.ZW also use ASP syntax to execute, we still need some extra work.
To allow requests for files with a suffix named. ZW to be run by our handler intercept
Open the admin console for IIS, click
--it is best to back up the log and later recover the data through the log ...
The following are log processing methods
Generally do not recommend to do 4th, 62 steps
4th step is unsafe, it is possible to corrupt the database or lose data
6th
The following are divided into two different cases. Analysis by using the Ext control and ASP's controls respectively1. If it is an ASP's control, you need to get the ID of the current control when you are prompted, and you can get the corresponding
%
Sub AutoPage ()
Dim Maxpagelen,page,content,pagenumber,articleid
Dim Contentlen
Dim beginpoint,endpoint
Maxpagelen=1000
content=Ubbcode(rs ("content"))
ArticleID=rs("ArticleID")
contentlen=len (content)
page=request.
Principle: Transfer variables through the browser, such as
Http://127.0.0.1/shengcheng.asp?id=90
Code:If SaveFile ("/new/" &id& ". html", "http://127.0.0.1/news.asp?id=" &id& "") Then
/new "&id&". html "is the file and path you generate."
Introduction to Dictionary objects in ASP and how to use them
The Dictionary object is used to store information (equivalent to keys and items) in the name/value of a pair. Dictionary objects seem simpler than arrays, but
, the Dictionary object
ASP user Registration Function Implementation instance, the code integrity, including the HTML part of the code. The main implementation of this code is the user registration form submitted data processing, including two times the password is
In ASP to generate Word files, Excel files and txt files, reference to Microsoft's official documents, their simple get under, basically can be achieved, deficiencies, hope guidance! Here's the point.
1, the use of ASP to generate Word documents,
AspUpload upload components are widely used in ASP, for some of the ASP novice, may not know how to use, AspUpload not only upload pictures, you can upload other formats of files, such as TXT, RAR, or even exe, as long as you do not limit, it just
' Date conversion constellation function, parameter is date typefunction Astro (birth)Astro= ""If birth= "" or not IsDate (birth) Then Exit functionBirthmonth=month (birth): If BirthmonthBirthday=day (birth): If BirthdayBirth=trim (Birthmonth &
The method needs to pass the encoding of the target page, such as System.Text.Encoding.Default or System.Text.Encoding.UTF8.
If any expert knows how to automatically determine the encoding format of the target page, please tell in the comments.
Interesting ASP applet, according to the user entered the date format of the content, automatically determine the corresponding constellation information, used to create horoscope for the site's friends believe will be used. And the usage is also
First, delete records
Opendataconn ' Open database connection
Xxlb=rtnreplaceint (Trim (Request ("Xxlb")), 0) ' in order to receive the XXLB variable, remove the space at both ends of the variable, the outermost is a custom function, estimated
sqlnote2= "SELECT Top 8 * out note1 ORDER BY id DESC" call OPENDB () Rs.Open sqlnote2,conn,1,1 if not rs.eof then do, not rs.eof %> Response.Write (" Else Response.Write (rs ("Send_date")) End If%> Rs.movenext loop%>
ASP tutorial Cookies Create, value, delete tutorialFunction: Cookies are commonly used to identify users.Principle:A cookie is a small file that the server leaves on the user's computer. Whenever the same computer requests a page through a browser,
ASP Tutorial User Registration Instance Program
Create an Access database tutorial Db1.mdb, where you create a datasheet user, the fields are: U_uid (Automatic), U_user (user name: Text type), U_pass (password: text type)Set up the form data sent
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.