A few days ago, in order to enhance the SEO of this site, I switched 301 of all pages under another domain name: www.kanshule.com to www.jb51.net.
Since this site currently only has one blog, you can start with it.
The idea is very simple. Get the
Hide table borders
You can use the frame parameter to control the table, but note that it only controls the border of the table without affecting the cell:
1. Only show the upper border
2. Only show the lower border
3. only show the left and right
1. Download: download the latest IP database (qq pure IP database)2. decompress: Decompress the data warehouse to the local file (ipdata warehouse .txt)3. Replace: Use the replacement tool to replace cz88.net in the text file (for example, unknown
There are many ways to count online users in ASP, and I cannot figure out several ^ _ ^ methods. I would like to introduce three methods first. If there are any errors, please criticize and correct them. There are also good methods, please add it!
/* Creator: the blog of caidao jushi* Creation date: January 1, August 31, 2014* Function: obtains information about a computer.**/
Namespace net. String. consoleapplication{Using system;Using system. Management;
Public class computerhelper{/// ///
Copy codeThe Code is as follows: ''Get the visitor's address
Ip = Request. ServerVariables ("REMOTE_ADDR ")
''The allowed IP address range is 10.0.0.0 ~ 10.68.63.255
Allowip1 = "10.0.0.0"
Allowip2 = "10.68.10.71"
Response. writecheckip (ip, allowip1,
HTTP headERS detection
variable
value
If Request. ServerVariables (key) = "" Then
If GetAttribute (key) = "" Then
Response. Write ""
Else
Response. Write GetAttribute (key)
End If
Else
Response. Write Request. ServerVariables
How to convert asp to php & nbsp; & lt; % Response. expires =-1Response. addHeader & quot; pragma & quot;, & quot; no-cache & quot; Response. how to convert AddHeader & quo asp to php
Response. Expires =-1
Response. AddHeader "pragma",
Asp: request. servervariables (HTTP_REFERER) jsp: request. getHeader (Referer); (obtain the current page: request. getRequestURL (). toString ();) javascript: document. in referrerPHP, you can use $ _ SERVER [HTTP_REFERER] to add the following code
Function ChkPost ()Checks whether the current server name of the user exists on the source page.The code is as follows: Function ChkPost ()Dim server_v1, server_v2Chkpost = FalseServer_v1 = Cstr (Request. ServerVariables ("HTTP_REFERER "))Server_v2 =
Many websites now use cdn technology. It is difficult to obtain the real IP address of their servers during some tests. I don't know what other good methods are available now, the following two types are available:
1: Use the CDN server to find the
ASP user Online program, this is My Learning ASP write a user online judge program.
Sub Check ()Dim ipCall Opensql ()Ip= "SELECT * from online where ip= '" &request. ServerVariables ("REMOTE_ADDR") & "'"Set Rs=server. CreateObject ("Adodb.recordset"
We often encounter some problems, such as http cc attacks and FTP TCP-FLOOD attacks, as shown in, we can see the continuous anonymous speculative attacks of illegal users. at this time, we have a variety of solutions. You can try to solve this
PublicfunctionDbExists (byValdbPath) to check whether the database file contains metadata. CreateObject (ADODB. Connection) c. OpenProviderMicrosoft. Jet. OLEDB.4.0; DataSourcedbPathIfErr. number0ThenErr. ClearDbExistsf
Public function DbExists
EndfunctionPublicfunctionDbExists (byValdbPath) to check whether the database file contains metadata. CreateObject (ADODB. Connection) c. OpenProviderMicrosoft. Jet. OLEDB.4.0; DataSourcedbPathIfErr. number0ThenErr. Clear
End function Public
Author: Ice origin [0. s. t] & [L.S. T]Note: This article has been published in Part 1 of the hacker manual. For more information, see this document!So that we can get the web Trojan. The problem we are talking about today is this design defect.I.
% ####### The following is a class file, and the annotation below is the method of calling the class # Note: if the system does not support Scripting. for FileSystemObject objects, the database compression function cannot be used # access database
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.