ASP advanced article online Management Update (II)
Source: Internet
Author: User
ASP advanced article online Management Update--Added articles
Author: Beach Boy
The previous section has introduced a database connection for article management, and this article will cover the online additions to the article. When you find a good piece of information, and want to put it on your site as soon as possible, if you first think of a quick to do a page, and quickly upload it with FTP, then here these are not necessary, Here you can enter the management page by adding articles, and then directly paste the article copied over it, which is also the focus of this article--the article online Add.
In addition, through the following step-by-step explanation, I believe you can understand the meaning of the HTM code here will not be told.
Create a new ASP file addarticle.asp with the following specific code:
"Insert database connection open File
<!--#include file= "conn.asp"-->
"This program will later be used to verify administrator information, mainly to prevent others from being able to add articles directly without password verification.
<%
If Request.Cookies ("Adminok") = "" Then
Response.Redirect "Login.asp"
End If
%>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<meta name= "generator" content= "Microsoft FrontPage 3.0" >
<title> Create articles </title>
<link rel= "stylesheet" type= "Text/css" href= "Style.css" >
<body>
<form method= "POST" action= "savearticle.asp" >
<div align= "center" ><center><table border= "1" cellspacing= "0" width= "80%" bordercolorlight= "#000000" bordercolordark= "#FFFFFF" cellpadding= "0" >
<tr>
<TD width= "100%" bgcolor= "#D0D0D0" height= "M" ><div align= "center" ><center><p><b> Add text Chapter </b></td>
</tr>
<TR align= "center" >
<TD width= "100%" ><table border= "0" cellspacing= "1" width= "100%" >
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