Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
readbook.asp
Package: 图书管理系统.rar [view]
Upload User: llrg7406
Upload Date: 2007-03-02
Package Size: 654k
Code Size: 1k
Category:
Education soft system
Development Platform:
Delphi
- <%@ Language=VBScript %>
- <!--#include file ="identify.asp"-->
- <%
- 'b_name = Request.querystring("name")
- 'b_author = Request.QueryString("author")
- b_bookid = Request.QueryString("bookid")
- if len(b_bookid)=0 then
- Response.Write "找不到您要的文件!"
- Response.End
- end if
- set conn = server.CreateObject("adodb.connection")
- conn.Open Application("dsn")
- sql = "select bookid,dir,identify_num from BookDetail where bookid=" & b_bookid
- set rs = server.CreateObject("adodb.recordset")
- rs.Open sql,conn
- if rs.EOF then
- rs.Close
- set rs = nothing
- conn.Close
- set conn = nothing
- Response.Write "找不到您要的文件!"
- Response.End
- end if
- dir = rs("dir")
- identify_num = rs("identify_num")
- rs.Close
- set rs = nothing
- if cint(identify_num)<cint(session("usertype")) then
- conn.Close
- set conn = nothing
- Response.Write "您的权限不够"
- Response.End
- end if
- session("bookid") = b_bookid
- sql = "update BookDetail set Times = Times + 1 where bookid=" & b_bookid
- conn.Execute sql
- conn.Close
- set conn = nothing
- dir = replace(dir,"","/")
- 'Response.Write dir
- Response.Redirect dir
- %>