As we all know, ASP is a non-typed scripting language, while DLL components developed by VB, Vc, Delphi and other languages are all strongly typed, which leads to a problem. this will cause problems. let me talk about the problem I encountered. I
To implement http://www.knowsky.com/hello.zw, we also need some additional work to execute with ASP syntax.
In order to allow requests for files with the suffix. zw to be intercepted and run by our handler
Open the IIS console, click the site,
Simple collection class 1.0 test version------------------------------Cls_ajax.asp collects webpagesCls_filter.asp filters dataIntegration of the first two cls_thief.asp classes and data processing and caching
The demo and usage are provided in
1. The simplest is as follows:
Dim objconn
Set objconn = server. Createobject ("adobd. Connection ")
Objconn. open application ("connection_string ")
'Call the stored procedure to increment a counter on the page
Objconn. Execute "Exec sp_addhit"
No
Copy codeThe Code is as follows:
Function makegroup (teams () As String'Function: Randomly groups 32 teams in the teams array. (Note: The subscript of the teams array starts from 0)'Function variable definition.'Displaying variable declarations is
Server Side schemdes:
Experienced JavaScript programmers know that code reuse is good. Experienced JavaScript programmers also know that JavaScript functions are data types.
So, we shoshould be able to store a JavaScript function inside a Session
The following is the source code. Please name it the. ASP file.
Copy codeThe Code is as follows:
If request ("action") = "1" then
Word = request ("word ")
Url = request ("url ")
If word <> "" then
GetCategories ()
If url <> "" thenGetCategories2 (
ACCESS
Query database typesHttp://www.zengke.com/product.asp? Sort_id = 24 and exists (select * from sysobjects)
On the admin page of the query table, the query result is displayed as "yes" and the error is "no.Http://www.zengke.com//product.asp?
Save the following two sections of code, one of which is readxml. asp is saved as test. xml, put it under the same directory, debug the program, and I have explained it in the program. Reading the code can be used as a readxml function, you can use
ASPJPEG is a shared software developed by Persits. The trial period is 30 days. You can download it at http://www.persits.com/asp;.exe.
The latest version is 1.3.
========================================================== =
Sub program class (imgurl,
Copy codeThe Code is as follows:
Dim p, ppic, id, body, myCache
Randomize
P = Int (3 * rnd) + 1)
Id = Request. QueryString ("id ")
HttpUrl = "http://sms.2e7.net/cute cartoon 0" & p & ". gif"
Set myCache = new cache
MyCache. name = "picindex" &
The code from the Internet has been slightly modified and actually uses the cache class ..
Save the code as, for example, pic. aspUse: http://www.xxx.com/pic.asp? Url = http://www.aaaa.com/log.gif
Not only 163, but many anti-theft images can be
To avoid maintenance difficulties caused by ASP and HTML code mixed writing, this article introduces a method to use templates to separate programs and pages, making program design easier.
When using ASP to create a site, a combination of program
1. The following Code demonstrates how to obtain the x and y coordinates of an image from the client browser on the server side. Note that the input control type is image.
ImageMap. y =
2. Use the ADODB. Stream object to download various files on
========================================================== ==================================
'Thank you for using the utility program developed by ASP001 studio.
'Http: // WWW. ASP001.NET
'================================================ ===========
HTML file tag
Text typographical mark original text style inwards title, bold, , Italic bottom line strikethrough text flashing large font small font text tagging text subscript default font settings change font settings
Menu tag option menu
Recently, I am working on the ePartner project, which involves file upload. I have also uploaded files before, but they are all small files, which cannot exceed 2 MB. Upload more than MB. I couldn't find any information to study it. For WEB-based
String function example of aspUse string functions to intercept, remove, and replace uppercase and lowercase strings.
Function
Syntax
Function
Len
Len (string | varname)
Returns the number of characters in a string or
When you use the SELECT element drop-down list on the Web page to display the data list, we sometimes encounter data entries with layers. For example, the Sub-Forum in the Forum and its classification, as well as some hierarchical data entries with
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.