File Futils.inc
' True pureasp upload-enables save of uploaded text fields to the disk.
' c1997-1999 Antonin Foller, Pstruh Software, http://www.pstruh.cz
' The Scriptutilities Library
' The file enables HTTP upload to ASP without any components.
'
Control | show | online
Here's what the Global.asa:
Sub Application_OnStart
' Delete All saved sessions information, in case of a crash
Set Objado = Server.CreateObject ("ADODB. Connection ")
Sdatabasepath = Server.MapPath
Original | source code | Bomb window
' Author: Arisisi' URL: http://www.alixixi.com' Description: Welcome to use source Code program, please keep this information.' 24 hours with 1IP only once' Direct input to the Web site does not play' Once you've
1. oncontextmenu= "Window.event.returnvalue=false" will be Beecher
Bottom Screen right mouse button
no
Available for table
2. cancel
Select, prevent replication
3. onpaste= "return False"
No pasting.
4. oncopy= ' return false; ' oncut= '
Skills
Tip 21: Enable browser and proxy cachingBy default, ASP disables caching in browsers and agents. This will make sense, because ASPs are inherently dynamic and potentially time-sensitive information. If you have a page that does
If a site is through the following code to obtain IP, then we simply set in the header Http_via and x_forwarded_for, you can achieve the purpose of fake IP
in the network card a random search: asp.net client IPMany pages can be searched, and the
Anti-Theft Chain | Download If we know the actual path of a static file such as: Http://www.xx.com/download/51windows.pdf, if the server does not make a special restriction setting, we can download it effortlessly! When the site provides
Now, on the Internet to do a survey is very common, many commercial Web sites often have a variety of theme of the survey Board, some commercial sites are free to provide users with research boards, such as: Broad (poll.bodachina.com). Because of
Anti-Theft chain If we know the actual path of a static file such as: Http://www.xx.com/download/51windows.pdf, if the server does not make special restrictions, we can easily download it down! When the site provides 51windows.pdf download, how to
services|web| Variable | access | The most frequently asked question about servers in newsgroups is "How do you get the IP address of a client's browser from within a Web services (Web service)?" "The answer to this question is very simple. The
Control using ASP to improve document upload controls
With the development of the Internet, the way people publish and access information has changed radically, more and more people begin to use the network as the most important way to publish
Coding | Coding when it comes to URL coding, you might think of a URL coding bug that was n years old. Unfortunately, I was "untimely" Ah, I contact the network, the loophole has long been extinct.
Anyway, what is URL coding? Look at the definition
In doing website development, often need to get, the server's some basic information, how to get it, see the following brief introduction:
copy Code code as follows:
//server name "server name": Server.machinename "Server Domain":
Access | statistics | online | The program is a little bit difficult, because he is sending each picture separately, so it's not as big as a CGI-generated picture. And the pictures can be reused, so the rate is high speed. It just doesn't go without
Temp1 = Request.ServerVariables ("Http_host")
Temp2 = Right (Request.ServerVariables ("Http_host"), 14) ' 14 means that your domain name removes the number of characters left after the suffix. As the following ". Yaojerry.name" does not include
Programming | beginners | If there is a lot of content, please edit it first in this machine so that the session expiration will cause the content to be lost. 20 very useful examples in ASP programming
1. How to use ASP to determine the virtual
Display form:
ID1 NAME | ID2 NAME
1 JULIET | 2 SPIRIT
3 BABY | 4 BOY
[1] [2] [3] [4] Pages: 1/4 pages 4 Records/page Total records: 13
Code:
Dim rs
Dim sql
Msg_per_page = 4 ' defines the number of record bars per page
Set rs =
If you submit all except the third check box, the following results are generated in the Request.Form collection:
Hobby = Hobby025, Hobby003, Hobby010
If you write a more complex collection traversal code, as described earlier (displaying each
Random | show
'----------------------------------------------------------------------------------------
' When forwarding, please keep this declaration information, this statement does not affect your display speed!
' *************************
Simple to do one, scan a database can get a tree-----index.asp------
Floating Forum
" New stickers
Dbr.pagecount then pagelist = Dbr.pagecount%> Name: "Then%> Time: " > Reply ), """ > >> more name:E-mail: title: content:"
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.