This program is a 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 JavaScript.
Program Original code:
asp.net|xml| Data | Database Drafting language: Popular forum (we focus on asp,asp. NET forum) Development idea
Veteran can skip this section and attend the next section.
At present, there are countless different versions of online forums, in the
Data | Database ' Call method is:
function Safe (str) ' It is used to determine whether a variable passed over contains special characters and does not return true
Dim s_badstr, N, I
S_badstr = "' &<>?%,;:() ' ~!@#$^*{}[]|\/+-= ' CHR (CHR) (9) CHR (3
I'm using a full angle, and we're changing it to half a corner.Not my originalSome of the other learning tutorials are briefly introduced
Effect
. NET version
String sreferer=request.servervariables["Http_referer"];String Slanguage,sbrowser,ssys;if (
Attacking a SQL injection attack is using a design vulnerability that runs SQL commands on the target server and other forms of attack, and the failure to validate the data entered by the user when dynamically generating SQL commands is the main
Create whether you sometimes want to know what people visit your site, what time, IP address, etc. Now I'm going to
Let us elaborate. This example uses a text file to write the user's information to create a logfile.asp
At the top of each ASP's page
First step: Make a backup of the existing database.
Step Two:
Execute the following ASP file, so you can remove the JS Trojan horse in the database:
Note: Conn.asp wrote it himself.
' Here is the content of JS Trojan Horse: Please remember to
Here are a series of files that can be uploaded using pure ASP code without components
Oh, I think this will give a lot of users have a personal homepage to bring great convenience.
This pure ASP code consists of three included files, and the code
access| Background | data | database | statistics
A statistical example of how visitors can number, record access times, IP, and time.
I use the Access library as an example, in fact, with SQL Server Library also just change the statement of the
18. Web pages are not cached
HTM Web page
Must-revalidate ">
08:21:57 GMT ">
or
ASP Web page
Response.Expires =-1
Response.ExpiresAbsolute = Now ()-1
Response.CacheControl = "No-cache"
PHP Web page
Header ("Expires:mon, June June 1997 05:00:00
Anti-Theft Chain | 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 have a special limit set, we can download it effortlessly! When the site provides 51windows.pdf
General procedures have access to the user's IP address command, but we visit the site there are two kinds of our common users, one is the use of proxy IP Internet users, I would like to introduce the following.
Get User IP address in ASP our
function ' Determines whether the filename is legal
Function isfilename (afilename)
Dim serrorstr,inamelength,i
isfilename=true
Serrorstr=array ("/", "\", ":", "*", "?", "" "", " Inamelength=len (afilename)
If inamelength Isfilename=false
Program | tutorials | forum |discuz| Integration
Download the package required for this tutorial: Http://www.alixixi.com/download/dll.rar
1. Create a new directory in your forum bin directory, name such as DLL (not necessarily in the bin directory,
**////
/// maximize the real IP address of the remote user
///
///
private string getclientip ()
... {
if (request.servervariables["Http_via"]!=null)
.. {
Error | show | Original ASP program error, error tip is not very clear understand, let a person touch the mind, use the following method to see if there is no help (this method is currently only suitable for errors outside the ADO error)
Step one,
Cookie|session|cookie|session the session first.
The debate on the session seems to have never stopped, but the people who can understand the session should account for more than 90.
But tell me, don't be too old
Some people agree to use the
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.