當前位置:首頁 » 操作系統 » asp系統源碼

asp系統源碼

發布時間: 2022-04-02 07:41:26

① asp網站源代碼

在區域網里搭建一個web伺服器,固定該機的內網IP,要win2003系統,XP的不行,因為IIS連接數有限制,搭建好,把程序放上去,其他電腦直接輸入這台伺服器的IP地址就可以訪問了。

如果要外網登陸,要先把區域網的路由器映射到這台伺服器上,一般是在路由器里設置DMZ主機,然後填上伺服器的內網IP。

外網訪問時是要輸入外網的IP,可以上IP138查詢到。
如果你們寬頻是固定IP的話申請個域名指向這個IP就行了,如果不是固定IP,就需要使用動態域名,現在常用的是 「花生殼」

② 在線開始系統 源代碼 ASp

到處都有源碼站啊,需要的話到「softhy」源碼站下載,我看到過那裡有不少你要的源代碼。
不知道網址的話,你可以查一下我的網站「917網址」首頁右下方的「友情鏈結」就有這個網站的鏈結,名字叫「洪越源碼」祝你好運。

③ asp網站整站源碼下載

會寫ASP源程序即可。先把別人的網站另存為HTML文件,然後再自己添加後台與資料庫等就可以成為自己的網站。

④ 用asp源碼建網站

可以試著從以下問題中尋求解決方法:
1:IIS設置的默認文檔名字是否正確?FTP伺服器的IIS配置是否正確?更新後上傳的文件,許可權設置是否正確?

2:FTP伺服器應該限制了用戶上限人數,打不開的時候應該就是連接的用戶已經達到上限。另外你的防火牆關不關都沒關系,因為是你訪問遠程計算機,而不是別人訪問你的機器。

⑤ asp源碼怎麼用

請確認你的機器上安裝了IIS 你可以在瀏覽器輸入 localhost 檢查 如果出現 網站建設中就是安裝好的

解決辦法:
1.把你的源文件復制進C:\Inetpub\wwwroot路徑下,不包含上級目錄

2.新建一個站點

如果沒有配置iis 請上網搜索下iis的安裝方法,安裝前請確認你有系統盤或i386文件夾

配置好後 右擊我的電腦->管理->服務和應用程序->internet信息服務(IIS)->網站(2003系統,XP為 默認網站)右擊->新建->網站(2003系統,xp為 虛擬目錄)->按提示做 注意選擇好網站主目錄 復選上 執行(如isapi應用程序或CGI)->OK

然後在瀏覽器就可以瀏覽了···

如果還不行請檢查你的ASP是否需要資料庫支持,是否需要安裝,有些網站程序也是要安裝的,如discuz等··

⑥ asp列印系統源代碼

a a

⑦ asp注冊登錄系統源代碼

1,(index.asp 用戶登陸頁面)
<!-- #include file="conn.asp" -->
<!-- blog.soowooo.cn 悠悠長假期 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>會員</title>
<style type="text/css">
<!--
body,td,th {
font-family: 宋體;
font-size: 14px;
}
-->
</style>
</head>
<body>
<center>
<p>會員注冊系統</p>
<form name="form1" method="post" action="login.asp">
<table width="34%" border="0">
<tr>
<td width="33%" height="30">用戶名:</td>
<td width="67%" height="30"><input name="username" type="text" id="username" size="15"></td>
</tr>
<tr>
<td height="30">密 碼:</td>
<td height="30"><input name="password" type="password" id="password" size="15"></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="Submit" value="確定">
<input type="reset" name="Submit" value="重置"></td>
</tr>
<tr>
<td colspan="2"><a href="reg.asp" target="_self">注冊</a></td>
</tr>
</table>
</form>
</center>
</body>

</html>

2,(login.asp 用戶數據處理文件)

<!-- #include file="conn.asp" -->
<%
'打開資料庫判斷用戶是否存在,info為表名,username為欄位名
set rsc=server.createobject("adodb.recordset")
sqlc="select * from info where username='"&request.Form("username")&"' and password='"&request.Form("password")&"'"
rsc.open sqlc,conn,1,1
session("username")=rsc("username")
session("password")=rsc("password")
session.Timeout=30
set rsc=nothing
response.Redirect("change.asp")
'如果用戶不存在,session("username")為空
%>
3,(change.asp 用戶信息修改頁面)
<!-- #include file="conn.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改</title>
<style type="text/css">
<!--
body,td,th {
font-size: 14px;
}
-->
</style></head>
<center>
<body>
<br>
<%

set rsc=server.createobject("adodb.recordset")
sqlc="select * from info where username='"&session("username")&"' and password='"&session("password")&"'"
rsc.open sqlc,conn,1,1
nr=rsc("password")
username=rsc("username")
password=rsc("password")
sex=rsc("sex")
qq=rsc("qq")
mail=rsc("mail")
add=rsc("add")
personalinfo=rsc("personalinfo")
vv=rsc("ntime")
set rsc=nothing
if nr="" then
response.Redirect("index.asp")
end if
if strcomp(nr,request.Form("password"))=0 then
response.Write("歡迎你!"&request.Form("username"))
response.Write("你是在"&vv&"注冊的")
session("username")=request.Form("username")
end if
if session("username")="" then
response.Redirect("index.asp")
end if
%>
<form name="form1" method="post" action="change.asp?ac=ch">
<table width="39%" height="105" border="0" >
<tr>
<td width="27%" height="30">用戶名:</td>
<td width="73%" height="30"><input name="username" type="text" id="username" value="<%=username%>">
*</td>
</tr>
<tr>
<td height="30">密 碼:</td>
<td height="30"><input name="password" type="text" id="password" value="<%=password%>">
*</td>
</tr>
<tr>
<td height="30">性 別:</td>
<td height="30"><input name="sex" type="text" id="sex" value="<%=sex%>"></td>
</tr>
<tr>
<td height="30">QQ:</td>
<td height="30"><input name="qq" type="text" id="qq" value="<%=qq%>"></td>
</tr>
<tr>
<td height="30">Mail:</td>
<td height="30"><input name="mail" type="text" id="mail" value="<%=mail%>"></td>
</tr>
<tr>
<td height="30">地 址:</td>
<td height="30"><input name="add" type="text" id="add" value="<%=add%>"></td>
</tr>
<tr>
<td>介紹</td>
<td><textarea name="personalinfo" cols="30" rows="6" id="personalinfo"><%=personalinfo%></textarea></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="修改">
<a href="change.asp?se=y" target="_self">退出系統</a></td>
<% if strcomp(request.QueryString("se"),"y")=0 then
session("username")=""
response.Redirect("index.asp")
end if
%>
</tr>
</table>
</form>
<%
if strcomp(request.QueryString("ac"),"ch")=0 then
set rs=server.createobject("adodb.recordset")
sql="select * from info where username='"&session("username")&"'"
rs.open sql,conn,1,3
rs("username")=request.Form("username")
rs("password")=request.Form("password")
rs("mail")=request.Form("mail")
rs("sex")=request.Form("sex")
rs("qq")=request.Form("qq")
rs("add")=request.Form("add")
rs("personalinfo")=request.Form("personalinfo")
rs.update
set rs=nothing
response.Write("修改完成!")
end if
%>
</body>
</center>
</html>
4,(reg.asp 新用戶注冊頁面)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用戶注冊</title>
<style type="text/css">
<!--
body,td,th {
font-family: 宋體;
font-size: 14px;
}
-->
</style>
</head>
<body>
<center>
用戶注冊<br>
<%
=request.QueryString("msg")
%>
<form name="form1" method="post" action="addnewdata.asp?ac=adser">
<table width="39%" height="105" border="0" >
<tr>
<td width="27%" height="30">用戶名:</td>
<td width="73%" height="30"><input name="username" type="text" id="username">
*</td>
</tr>
<tr>
<td height="30">密碼:</td>
<td height="30"><input name="password" type="password" id="password">
*</td>
</tr>
<tr>
<td height="30">確定密碼:</td>
<td height="30"><input name="password2" type="password" id="password2">
*</td>
</tr>
<tr>
<td height="30">性別:</td>
<td height="30"><input name="sex" type="text" id="sex"></td>
</tr>
<tr>
<td height="30">QQ:</td>
<td height="30"><input name="qq" type="text" id="qq"></td>
</tr>
<tr>
<td height="30">Mail:</td>
<td height="30"><input name="mail" type="text" id="mail"></td>
</tr>
<tr>
<td height="30">地址:</td>
<td height="30"><input name="add" type="text" id="add"></td>
</tr>
<tr>
<td>個人介紹</td>
<td><textarea name="personalinfo" cols="30" rows="6" id="personalinfo"></textarea></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="提交"></td>
</tr>
</table>
</form>
</center>
</body>
</html>
5,(addnewdata.asp 新用戶注冊數據處理文件)
<!-- #include file="conn.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>成功</title>
</head>
<body>
<%
ac=request.QueryString("ac")
msg="注冊錯誤信息"
if request.Form("username")="" then
msg=msg&"<br>"&"用戶名不能為空"
end if
if strcomp(cstr(request.Form("password")),cstr(request.Form("password2")))<>0 then
msg=msg&"<br>"&"兩次密碼輸入不同"
end if

if len(request.Form("password"))<6 then
msg=msg&"<br>"&"密碼太簡單"
end if

if strcomp(msg,"注冊錯誤信息")>0 then
response.Redirect("reg.asp?msg="&msg)
end if
if ac="adser" then
set rsc=server.createobject("adodb.recordset")
sql="select * from info where username='"&request.Form("username")&"'"
rsc.open sql,conn,1,1
ck=rsc("username")
set rsc=nothing
if ck<>"" then
msg=msg&"<br>"&"用戶名被人注冊"
response.Redirect("reg.asp?msg="&msg)
end if
dsql="select * from info where id is null"
set rs=server.createobject("adodb.recordset")
rs.open dsql,conn,1,3
rs.addnew
rs("username")=request.Form("username")
rs("password")=request.Form("password")
rs("mail")=request.Form("mail")
rs("sex")=request.Form("sex")
rs("qq")=request.Form("qq")
rs("add")=request.Form("add")
rs("personalinfo")=request.Form("personalinfo")
rs("ntime")=now
rs.update
set rs=nothing
%>
<center>
<a href="index.asp" target="_self">注冊成功,點擊登陸</a>
</center>
<%
end if
%>
</body>
</html>

6,(conn.asp 資料庫連接文件)
<%
'連接資料庫開始
dim conn,rs,sql
on error resume next
dbpath=server.mappath("userinfo.mdb")
set conn=server.createobject("adodb.connection")
conn.open "PROVIDER=Microsoft.jet.OLEDB.4.0;data source="&dbpath
'創建記錄對象
set rs=server.createobject("adodb.recordset")
%>

7,(userinfo.mdb ACCESS 資料庫)
在ACCESS中建一個表,然後在這個表中建立欄位名稱
表名:info

欄位名稱 數據類型
id 自動編號
username 文本
password 文本
sex 文本
quest 文本
qq 文本
mail 文本
personalinfo 文本
ntime 文本

⑧ asp的在線考試系統源碼

在線考試系統 v2008
http://down.chinaz.com/soft/22301.htm

⑨ ASP源碼帶會員下載系統

<p>新雲網站內容管理系統就可以做下載系統</p> <p>官方地址:<a href="http://wenwen.soso.com/z/urlalertpage.e?sp=swww.newasp.net" target="_blank">www.newasp.net</a> 這是官方的演示站 也是官方主頁<br></p> <p>官方論壇 bbs.newasp.net 在這里有很多皮膚與源碼修改經驗</p> <p>案例: down.chinaz.com 中國站長站源碼下載</p> <p>chinaz使用的就是修改版的新雲內容管理系統</p>

⑩ 求ASP會員系統源代碼

自己在資料庫設置個欄位,加點程序不就得了?

熱點內容
電腦主機買什麼配置內存大 發布:2024-09-27 15:04:06 瀏覽:266
華為技術有限公司c語言 發布:2024-09-27 14:50:42 瀏覽:919
雪種壓縮機 發布:2024-09-27 14:50:38 瀏覽:323
怎樣調用c編譯器 發布:2024-09-27 14:19:38 瀏覽:265
導頁源碼模板 發布:2024-09-27 14:03:34 瀏覽:268
配置文件的元素有哪些 發布:2024-09-27 14:02:47 瀏覽:264
qq等級的密碼是什麼 發布:2024-09-27 13:54:05 瀏覽:143
怎麼復制安卓應用雙開 發布:2024-09-27 13:53:53 瀏覽:573
電腦運行什麼查看配置 發布:2024-09-27 13:53:53 瀏覽:637
excel導入資料庫oracle 發布:2024-09-27 13:53:51 瀏覽:503