Senior
Test in ASP
' Generate abbreviationsOn Error Resume NextSet Obj=server. CreateObject ("Flysoft.image")Obj. Loadfromfile=server. MapPath ("./love.bmp") ' original pictureObj. Rate = 0.5 ' scaling ratio where 1 is magnifiedObj. Outputimgfile
Cache
HTM Web pageor
ASP Web pageResponse.Expires =-1Response.ExpiresAbsolute = Now ()-1Response.CacheControl = "No-cache"PHP Web pageHeader ("Expires:mon, June June 1997 05:00:00 GMT");Header ("Cache-control:no-cache, must-revalidate");Header
xml| Print One, preface
ASP is widely used in e-commerce, and there are some problems in report processing. This article describes the use of ASP
I write the report Server page script interpreter to achieve the display of reports, printing.
Ii.
pagination | function | data | database
' Automatically output database column names, content, and paging common functions [very fine code]' You just need to change the database connection code to enter the full table content information and the
Overview
The Counter component creates a counters object that can create, store, grow, and retrieve any number of independent counters.
A counter is a persistent value that contains an integer. You can control counters by using the GET, Increment,
asp.net| problems using Vs.net's friends can often encounter situations where you can't debug asp.net, and some friends give you some practical solutions. To sum up, the following aspects are generally included (Please note: Here is a discussion
function | conversion function Urlconvert (str)
Convertstr=str
Urllocation=instr (convertstr, "http://")
if (urllocation=0) and (maillocation=0) then
Urlconvert=convertstr
Exit function
End If
If Urllocation<>0 Then
Rightstr=str
Do While Urllocation<
function | control | string
Studied for 2 hours how to control the output of the article title in English and Chinese, give everybody iron outThe function is below, and the method is:strvalue ("Please email notification if you do not fill out the
Program | Problem involves program:
MS IIS
Describe
A Chinese university student discovers the NT website ASP program password Authentication flaw
With
From: benjurry@263.net
The original text reads as follows:
Very early found that many
iis| virtual host involves programs:
MS Windows Nt/iis
Describe:
Shared directory causes ASP program source code to leak
With:
If the root directory of a virtual host is mapped to a network share directory, by adding some special characters
Web| source code involves the program:
Microsoft Internet Information Server/index Server
Describe:
Shock security Discovery: New vulnerabilities allow viewing of any file on the Web server including ASP source
With:
IIS4.0 has an application
function | member
Ways to prohibit garbage registration
Public Function Checknum (STR)If str= "" Then Exit FunctionIf session (STR) =false ThenRanDomize TimerSession (STR) =int (rnd*9) +1End IfChecknum=session (STR)End FunctionFunction Validinteger
Senior
Haven't written this series in a long time, and have been busy with other things lately
Advanced Component Topics We'll discuss some of the more difficult and complex things
Some time ago I wrote a tornado thumbnail watermark component, the
application|web| Quick Start File global.asax
In addition to writing the UI (use Interface: User interface), we can also
Add "Application" level control logic Code and event trigger in application
Order. The code does not operate to generate the UI,
Chapter Display Module
As I said before, a specific article is divided between the Kanban and the subject. Therefore, it is possible to get a list of articles under a specific topic by displaying the articles through both the Kanban list and the
The error is first obtained by the set Objasperror=server.getlasterror and then by the owner of the ASPError object to obtain the relevant information:
objASPError.ASPCode: Returns the error code generated by IIS
Objasperror.number: Returns COM
Senior
Engineering name Flysoft class module Image.cls
Option Explicit
'*****************************************************' CSDN VB version online (Tornado 3.0 Smile Proud Lake)' 2005-6-30 Day modified part of code
' Name: Thumbnail watermark
Object| source code read message contents and attachments (showbody1.asp)
'************************************************
' This file displays the contents and attachments of the message
' Author: Awayeah
' E-mail: awayeah@163.net
'*************
Object| Source code Save attachment (saveatt.asp)
'*************************************
' This file is used to download attachments
' Author: Awayeah
' E-mail: awayeah@163.net
'*************************************
Dim FSO, Tempfile
Set fso =
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