sql = "SELECT * from P_type where b_type=1"
Set rsclass = Server. CreateObject ("Adodb.recordset")
Rsclass.open sql,conn,1,1
' Big class
If not (RSCLASS.BOF and rsclass.eof) then
%>
' Visit Second class products
sql = "SELECT * from S_p_type
FSO, as exciting as the UFO, fascinating, of course, more people are happy to let people worry. You do not see a space service provider advertising: 100MB space as long as 60rmb/years, supporting the database, support what what ... A question does
Password login test after running test.htm ~!
-------------------------test.htm code is as follows:
marginheight= "1" border= "0" scrolling= "no" >
--------------------------test.asp code is as follows:
' This code is only for attack the
The code is as follows
Copy Code
Call Com_creatvalidcode ("code") Sub Com_creatvalidcode (PSN)' Disable cachingResponse.Expires =-9999Response.AddHeader "Pragma", "No-cache"Response.AddHeader "Cache-ctrol", "No-cache"'
The code is as follows
Copy Code
function ShowPage (sto,allpage,page) ' Displays the number of pages based on total pages and current pagesDim first,lastPage=max (min (page,allpage), 1) if (allpage>1) thenif (allpage>10)
This search tool allows you to search for words or phrases on your site, and the resulting page will display the title of your visitors page and a link to it.You only need to include bellows in the form of your Web page:
HTML page.
Search term or
Can I include files dynamically?
April 23, 2001
What is dynamic include?
Answer
Let's start with one case:
' Get the province where the user is
Dim Province
Province = Request.Form ("province")
' The information in this province is shown below
%>
"--
ASP Simple Chat Room program two
var nothing;Response.AddHeader ("Cache-control", "No-cahce");if (! Session.Contents ("Chat_user")){Session.Contents ("chat_user") = "Guest";Session.Contents ("chat_time") = (new Date). GetTime ();}if
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"
Last time I wrote a long PHP article pagination code used to explode to the implementation of segmentation, today we talk about ASP article pagination code and long article pagination and ASP long article pagination method.
Function c2u (MyText)Dim
Online Translator
' On Error Resume Next
' If the speed is slow, you can adjust the following time. Per second
Server.ScriptTimeout = 999999
'========================================================
' Character encoding function
'================
function Delectimagefile (newsid,i)
Set Delectfile=server. CreateObject ("Scripting.FileSystemObject")Currentpath=server. MapPath ("images/news/")Filename=currentpath & "& NewsID &"-"& I &". gif "
If Delectfile.fileexists (FileName)
This is based on the user's choice whether to allow the user name password to be saved in the cookie Oh, we pay special attention to the code blue codes Oh.
Set Rs=server.createobject ("Adodb.recordset")Exec= "SELECT * from Yrwl_tb_admin where yhm=
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