Highlight ASP Article original code
Add Time: October 29, 2000 source site: China Technology Network
' File:CodeBrws.asp
' Overview:this formats and writes the text of the selected page for
' The View Script Button
' This file is provided as part
Introduction to the Basics of server scripting
First, let's review the basics of how Web Server Pages are executed:
1, the client through the browser's address bar typing address to send the request to the server side
2, the server received the
After the drive is finished, the folder is then manipulated. These include extracting folder information, creating folders, deleting folders, copying folders, moving folders, and so on. Here's a concrete look.
First, FSO. GetFolder
A look is clear,
Use flash and ASP to make a message this-flash article
About writing data to flash with ASP: for example, to let flash know a=1 this value, you have to enter &a=1°asp with such a statement Response.Write ("&a=1").
The introduction of ASP files in
Jayesh Patel, Bryan Acker and Robert McGovern
Infusion Development
Scope of application:
Microsoft asp.net 2.0
Absrtact: Although ASP.net 2.0 is completely backward-compatible with ASP.net 1.1, it also brings a lot of internal changes to ASP.net,
4. File Default.asp
id = Request ("id")
If ID = "" Then
ID = 30
End If
Title = "Polls (Create your own poll)"
%>
asp polls
another joint product from tipped Cow development and adrenalin labs
First to give a form, to allow users to enter the registration information, these are HTML content, and put aside, we take a closer look at the specific implementation of the registered ASP script.
' Change the single quotation marks in the data to
Starttime=application ("Five"). GetStartTime
Visitnum=application ("Five"). Getvisitnum
%>
Face= Young round >busyants Gobang server
start Time: (now Time )
run Time:
Number:
number
player
Start the database operation.
Common Component Encapsulation
1.? Encapsulate the connection information of the database.
1>???? Returns the database connection string directly, as in the component
Public? Function? DataSource ()? As?
In the process of technological renewal, there are still some people who die clinging to something that is already too angry. There are some people who enter the new world, but still can not get rid of the old habits. I didn't use the word "bad
Dim rs,sql,htmlcontent
Dim Channelrootdir,strinstalldir,strindexname
Dim flashid,downid,showurl,errmsg
Dim Strtitle,straddress,addtime
Dim allhits,introduce,filesize
Dim Htmlfileurl,htmlfilename,strurl
Newasp.readchannel (Channelid)
Channelrootdir =
Private Function contentpagination (strcontent)
Dim Contentlen, Maxperpage, paginate
Dim arrcontent, Tempcontent, I
On Error Resume Next
Strcontent = Newasp.readcontent (strcontent)
Strcontent = Replace (Strcontent, "[NextPage]",
ASP calls the size of the picture
function Resizeimage (imageid,limitwidth,limitheight){var image = new Image ();IMAGE.SRC = IMAGEID.SRC;if (image.width if (image.width/image.height >= limitwidth/limitheight){if (Image.width >
In fact, this method to limit the number of words there are defects, that is, in the interception, English mixed words, English also intercepted by a word
The following is a modified function, for the landlord reference
The calling method does
Because it's simpler, I won't say anything. A look will understand!
Function Chkstr (instring)
If instring<> "" Then
Instring=replace (LCase (instring), "", "" ")
Instring=replace (LCase (instring), ";", "")
Instring=replace (LCase (instring), "'", "
' =================================================== ======================= Dim Idcount ' Total Number of records Dim pages ' per page number Dim Pagec ' Total Pages Dim page ' Page Number Dim Pagenc ' Paging per page Number of page numbers
'------------------------------------------------------------
'------------------------------------------------------------CLASS paginationPublic PageSize ' How many records are displayed per pagePublic AbsolutePage ' current pagePublic BaseURL '
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