1, first clear which record to delete
The SQL statement, for example, corresponds to a specific ID.
id = request.form ("id")
sql = "SELECT * from Cnarticle where cn_id=" &id
Set rs = Server.CreateObject ("ADODB.") Recordset ")
Rs. Open sql,conn,2,3
2
ASP is Microsoft in the earlier launch of Dynamic Web programming technology, but its combination of ADO on the database convenient access, combining XML, Com/activex and other technologies to achieve the server multi-layer structure of the function
qboard.asp Lists all the topics under a certain layout, and after clicking on the topic name, it goes to the appropriate topic list. This list is implemented by qtopic.asp, an ASP script. Qtopic.asp's code is virtually indistinguishable from
Recently in the news of the background management system, in the access data imported into the SQL SERVER2000, there are a lot of problems, is summarized as follows:
You can convert access data by using the Import feature of SQL Server, but be aware
1. Declare the control, at the top of the page a checkbox called CB5, a checkboxlist called Shi2:
protected System.Web.UI.WebControls.CheckBox cb5;
protected System.Web.UI.WebControls.CheckBoxList Shi2;
2. Type the following function in the head of
One, FSO. GetFile
Extracts files corresponding to the file object
1,getfile.asp
Whichfile=server.mappath ("Cnbruce.txt")
Set fso = CreateObject ("Scripting.FileSystemObject")
Set f1 = fso. CreateTextFile (Whichfile,true)
F1. Write ("This is a test".
3 code.asp file will leak ASP code
Problem Description:
For a very simple example, there is an. asp file in the Microsoft ASP1.0 routines, designed to view the source code for other. asp files, which is
Aspsamp/samples/code.asp. If someone uploads
This is a foreign reprint function, can convert any character to MD5 16 for character encryption form, and for irreversible change.
Private Const Bits_to_a_byte = 8
Private Const Bytes_to_a_word = 4
Private Const Bits_to_a_word = 32
Private
I made a website www.zydn.net, it is a personal homepage, although not in the name of the individual, but it is only me to do this thing, I stand a set of back-Office system, with ASP, the host with the million nets, but yesterday I surf the
V. Create ASP files to display XML data (index.asp)
The function of this file is to read and display the XML data, first create an XML image and then read the XML into memory, and use DOM to isolate the
The data you want.
strSourceFile =
1. I want to automatically post a form from the background in ASP. How do we do that?
You can use the Asphttp control
2. How to avoid Index Server to search ASP files?
Another: IIS 4 Chinese search engines have the means to search E-wen?
ASP can be
Vii. Summary
Here we'll build a simple and paging XML message book, Ah, it is easy to read, in fact, I only have a starting point of the function, the purpose is to guide you to build more complex and better asp+xml procedures, such as: The above
1. How to solve the problem of browsing ASP page, read only in local buffer!
Response.expire =0
2. The authentication number of the login is generated?
For:
respectively output hour (logtime), Minute (LogTime), Second (LogTime) (they do not need to
I think it is safe to have the user password encrypted (relative), isn't it?
Here is the MD5 encryption algorithm!
Private Const Bits_to_a_byte = 8
Private Const Bytes_to_a_word = 4
Private Const Bits_to_a_word = 32
Private M_lonbits (30)
Private
There will always be many ways to expose the original ASP program, resulting in the database password path can easily be other people to get, so the implementation of the ASP program encryption processing is a good solution. Here's a tool to
Since the advent of ASP (Active Server Pages), ASP technology has been popular with more and more network programmers as it can create robust, maintainable, platform-independent applications, and more people are using ASP for Web development. But
Frankly, I've never been very interested in ASP. If I were to write this server-side program,
I will choose JSP. So, I always want to get a cheap jsp space on the Internet; but just as Miles
The predecessors said, Liangui not a bit, let alone cheap.
XML is the standard extensible language, is the future of Web programming standards, ASP is now widely circulated in one of the Web programming language, can not let them
Two together to play a role? Tofu is here to provide a very simple
##############################################
This article all code copyright belongs to [rain wave], reprint please declare
##############################################
ASP is not the most vulnerable technology, but to prevent hacker attacks
And
Whether you believe it or not, through the ASP, it may be easy to invade the Web server, the theft of files on the server, capture the Web database, such as the user password, or even malicious delete files on the server until the system damage,
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