BVB Source Codes

V2.0 flowers chat rooms Show inc_dbconn.asp Source code

Return Download V2.0 flowers chat rooms: download inc_dbconn.asp Source code - Download V2.0 flowers chat rooms Source code - Type:.asp
  1. <%
  2. 'Option Explicit
  3. 'response.expires=0
  4. 'on error resume next
  5.  
  6. dim strConnString '##连接数据库信息
  7.  
  8.     'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;DBQ=" & server.MapPath("database.mdb") & ";uid=admin;PWD=;"         '## MS Access 2000
  9.     'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("mdbpath.mdb") & ";uid=admin;PWD=;"  '## MS Access
  10.     'strConnString = "DRIVER={SQL Server};server=SERVER_NAME;uid=SQL_USER;pwd=PASSWORD;database=DATABASE_NAME"             '## MS SQL Server 7
  11.     'strConnString = "DSN=DSN_name;UID=USER;PWD=PASSWORD"                                                                  '## Use DSN
  12.     'my_Conn.open "DSN_name,User,Password"
  13.  
  14. set my_Conn = Server.CreateObject("ADODB.Connection")
  15.     strConnString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("3a4b5c.asp") & ";uid=admin;PWD=;"
  16.     my_Conn.Open strConnString
  17.  
  18. dim dbtable_change,dbtable_kill,dbtable_gbook,dbtable_user,dbtable_function        '##数据库结构
  19.  
  20.     dbtable_change         = "chat_change"                                         '##加分记录库
  21.     dbtable_kill           = "chat_kill"                                           '##踢人记录库
  22.     dbtable_gbook          = "chat_gbook"                                          '##留言记录库
  23.     dbtable_user           = "userinfo"                                            '##用户信息库
  24.     dbtable_function       = "function"                                            '##聊天动作库
  25.  
  26. dim dbfield_change_id,dbfield_change_change,dbfield_kill_id,dbfield_kill_kill      '##加分记录库,踢人记录库字段结构
  27.  
  28. dbfield_change_id      = "id"
  29. dbfield_change_change  = "change"
  30.  
  31. dbfield_kill_id        = "id"
  32. dbfield_kill_kill      = "kill"
  33.  
  34. dim dbfield_function_id,dbfield_function_command,dbfield_function_xiang           '##动作库字段结构
  35.  
  36. dbfield_function_id    = "id"
  37. dbfield_function_cmd   = "cmd"
  38. dbfield_function_xiang = "xiang"
  39.  
  40. dim dbfield_gook_id,dbfield_gook_name,dbfield_gook_lyname,dbfield_gook_email      '##留言记录库字段结构
  41. dim dbfield_gook_homepage,dbfield_gook_addtime,dbfield_gook_message
  42. dim dbfield_gook_comefrom,dbfield_gook_picture
  43.  
  44. dbfield_gbook_id       = "id"
  45. dbfield_gbook_name     = "name"
  46. dbfield_gbook_lyname   = "lyname"
  47. dbfield_gbook_email    = "email"
  48. dbfield_gbook_homepage = "homepage"
  49. dbfield_gbook_addtime  = "addtime"
  50. dbfield_gbook_message  = "message"
  51. dbfield_gbook_comefrom = "comefrom"
  52. dbfield_gbook_picture  = "picture"
  53.  
  54. dim dbfield_user_id,dbfield_user_username,dbfield_user_password                  '##用户信息库字段结构
  55. dim dbfield_user_email,dbfield_user_oicq,dbfield_user_homepage
  56. dim dbfield_user_comefrom,dbfield_user_rate,dbfield_user_ip
  57. dim dbfield_user_lasttime,dbfield_user_sex,dbfield_user_manager
  58.  
  59. dbfield_user_id        = "id"
  60. dbfield_user_username  = "username"
  61. dbfield_user_password  = "password"
  62. dbfield_user_email     = "d_email"
  63. dbfield_user_oicq      = "d_oicq"
  64. dbfield_user_homepage  = "d_homepage"
  65. dbfield_user_comefrom  = "d_comefrom"
  66. dbfield_user_rate      = "d_rate"
  67. dbfield_user_ip        = "d_ip"
  68. dbfield_user_lasttime  = "d_lasttime"
  69. dbfield_user_sex       = "d_sex"
  70. dbfield_user_manager   = "d_manager"
  71. %>
downloadinc_dbconn.asp Source code - Download V2.0 flowers chat rooms Source code
Related Source Codes/Software:
WebSMS online chat system - A web-based chat tool, it does not need to install... 2016-09-16
Non-mainstream chat rooms (support virtual space) - This chat room mainly conveniently in the virtual ... 2016-09-16
Dream chatroom v1.2 Build 0523 - Based on "love strings if chat rooms" program modi... 2016-09-16
One hundred million people chat v3.0 - Classification of support chat, public and private... 2016-09-16
X-chat System v1.5 - Adopted more advanced technology of XMLHTTP + XML ... 2016-09-16
Red dragonfly chat rooms v4.00 dongdong beautify the version to be error-free - 1, the application to modify the program online, i... 2016-09-16
Ichat2.5 formal version of the video chat program - Ichat2.5 formal version of the video chat program 2016-09-16
Draw two alumni source code - This source code is free release, free communicati... 2016-09-16
Sega school green version of the site management system - Sega school green version 2016-09-16
Free and unfettered access statistics system - A set of simple, rapid access statistics program, ... 2016-09-16
envoy - Python Subprocesses for Humans ™. 2017-05-08
wide - 2017-05-08
vincent - A Python to Vega translator 2017-05-08
debugging-stories - A collection of debugging stories. PRs welcome :-)... 2017-05-08
cms.js - The Javascript Site Generator ... 2017-05-08
flannel - flannel is a network fabric for containers, design... 2017-05-08
nu - Nu is an interpreted Lisp that builds on the Objec... 2017-05-07
gobyexample - Go by Example https://gobye... 2017-05-07
nova - OpenStack Compute (Nova) ht... 2017-05-07
mio - Metal IO library for Rust 2017-05-07

 Back to top