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

查詢源碼

發布時間: 2022-01-25 16:29:56

① 查詢輸入次數多少的源代碼

很老的問題了

② 如何查看應用程序的源代碼

不能夠查看源代碼的。源代碼能生成程序,但程序還原不了源代碼。源代碼是商業機密。就如同知道可口可樂配方能生產可口可樂,但是有一瓶可口可樂分析不出配方這世界最大的商業機密。

只能反匯編。反匯編的 軟體很多,靜態的動態的等等。網上搜一下,很多的。常用的靜態分析工具是W32DASM、OllyDbg IDA

linux系統怎麼查詢源碼安裝的軟體

一、平時下載linux的源碼包,都是通過搜索,然後找到相關的下載網站進行下載。或者搜索網站進行下載,而且還要遍歷查找安全的網站下載,這樣有些浪費時間與精力.
二、下面舉例介紹一種簡單的方法下載軟體的源碼安裝包
使用 yum info XXX 的命令得到軟體的地址,然後復制即可瀏覽,這樣即安全也省時間去查找,更加簡單,如下圖所示
使用yum info 命令進行查看軟體的信息,里邊包含了軟體的網站,可以很方便得知源碼下載地址了.

三、總結
無論使用哪一種方法來查詢軟體的源碼包,但還是要驗證一下它的安全性,避免出現故障,最好就是到軟體的官方網站進行下載。

④ 怎麼通過查看網頁源代碼下載視頻

一:WMV、ASF 等格式的網路視頻
一般這樣格式的視頻,都是默認 Windows Media Player 播放器,這樣的視頻,一般只需要在播放器 內,點滑鼠右鍵,選擇屬性就能看視頻播放的 URL 地址了,然後就能對該視頻下載。
二:RM、RMVB 等常用格式的網路視頻
1、把 RM 格式的視頻本地播放:在播放器內,點滑鼠右鍵,選擇在 RealPlayer 中播放(前提是你的機器裝有 RealPlayer),就會彈 RealPlayer 播放器進行本地播放,然後選擇播放器上的導航欄目「文件」再 繼續選擇剪輯屬性,再選擇查看剪輯信息,就能找該視頻的 URL 地址了。
2、斷網查詢法:打開在線網路播放地址後,先不讓視頻進行緩沖,先把網線拔掉,然後再按播放按鈕,讓該視頻連接網路。因為斷線肯定是無法連接的。播放系統會把該視頻的 URL 地址,提示無法連接該 URL 地址。這樣就把該視頻的 URL 地址找出來了。
三:HTML 源代碼查詢
如果對方網站沒隱藏 URL 地址,都能夠用這個方法找到 URL 地址。打開在線網路視頻的播放頁面,然後點擊滑鼠右鍵,選擇查看源文件,系統會自動打開一個 txt 的文本。一般情況下,裡面有很多密密麻麻的文字和代碼,然後查找該視頻格式的後綴名,比如是 RM 的視頻,就查找.rm,應該很快就能找該視頻的 URL 播放地址。

⑤ 房屋查詢系統的源代碼誰有啊

想的美,有也不給你!

⑥ 分地區查詢系統源碼

都快畢業了還不自己好好想想啊!

⑦ 求商品庫存查詢源碼

按你要求做的,直接復制便可
資料庫中欄位
商品代號:文本
商品名稱:文本
商品顏色:文本
商品尺寸:文本
商品價格:數字
商品庫存:是/否、或文本數字看習慣

conn.asp頁面
<%
dim conn,rs,sql,db '聲明變數
set conn=server.createobject("adodb.connection") '創建一個資料庫的實例派生給一個變數
db = server.MapPath("db.mdb")
conn.connectionstring="provider=microsoft.jet.oledb.4.0;data source="&db '連接資料庫
conn.open '打開資料庫

sub close_conn
conn.close
set conn=nothing
end sub
%>

index.asp頁面
<!--#include file="conn.asp"-->
<%
if request.Form("send")="" then '判斷是否有查詢提交
sql = "select * from 商品表" '無查詢者輸出全部
else
if request.Form("key")="" then '判斷關鍵字是為空
response.write "<script>alert('關鍵字不能為空');window.history.back();</script>"
call close_conn
response.End()
end if

if request.Form("mode")="高級查詢" then '判斷查詢方式
dim ys,cc,jg
ys=""
cc=""
jg=""
if request.Form("ys")<>"0" then '判斷是否有選顏色
ys=" and 商品顏色='"&request.Form("ys")&"'" '將查詢表達式中條件賦給 ys
end if

if request.Form("cc")<>"0" then '判斷是否有選尺寸
cc=" and 商品尺寸='"&request.Form("cc")&"'" '將查詢表達式中條件賦給 cc
end if

if request.Form("jg1")<>"" and request.Form("jg2")<>"" then '判斷是否有價格要求
jg=" and (商品價格>="&request.Form("jg1")&" and 商品價格<="&request.Form("jg2")&")"'將查詢表達式中條件賦給 jg
end if

if request.Form("style")="0" then '如果style等於0表示以商品代號查詢 否者以名稱
sql="select * from 商品表 where 商品代號 like '%"&request.Form("key")&"%'"&ys&cc&jg
else
sql="select * from 商品表 where 商品名稱 like '%"&request.Form("key")&"%'"&ys&cc&jg
end if
else
if request.Form("style")="0" then '如果style等於0表示以商品代號查詢 否者以名稱
sql="select * from 商品表 where 商品代號 like '%"&request.Form("key")&"%'"
else
sql="select * from 商品表 where 商品名稱 like '%"&request.Form("key")&"%'"
end if
end if
end if

set rs=server.createobject("adodb.recordset") '創建一個記錄集的實例派生給一個變數
rs.open sql,conn,1,1 '打開記錄集

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>查詢商品</title>
<style type="text/css">
td{
text-align:center;
background:#fff;
line-height:25px;
font-size:12px;
}
</style>
</head>

<body>
<table border="0" cellspacing="1" cellpadding="0" bgcolor="#bbbbbb" width="70%" align="center">
<tr>
<td colspan="6">
<form action="index.asp" name="form1" method="post">
<input type="text" name="key" />
<select name="style">
<option value="0" selected="selected">商品代號</option>
<option value="1">商品名稱</option>
</select>
<input type="submit" name="send" value="查詢" />
<input type="button" onclick="window.location.href='search.asp'" value="高級查詢" />
</form>
</td>
</tr>
<tr>
<td width="10%">商品代號</td>
<td width="40%">商品名稱</td>
<td width="10%">商品顏色</td>
<td width="10%">商品尺寸</td>
<td width="10%">商品價格</td>
<td width="20%">庫存</td>
</tr>
<%
if not rs.bof and not rs.eof then
do while not rs.eof
%>
<tr>
<td><%=rs("商品代號")%></td>
<td><%=rs("商品名稱")%></td>
<td><%=rs("商品顏色")%></td>
<td><%=rs("商品尺寸")%></td>
<td><%=rs("商品價格")%></td>
<% if rs("商品庫存") then %>
<td>下架</td>
<%else%>
<td>充足</td>
<%end if%>
</tr>
<%
rs.movenext
loop
else
%>
<tr>
<td colspan="6">沒有關於[<%=request.Form("key")%>]的商品信息</td>
</tr>
<%
end if
rs.close
set rs=nothing

call close_conn
%>
</table>
</body>
</html>
沒有做分頁顯示,如有需要留言

search.asp頁面
<!--#include file="conn.asp"-->
<%
sub clas(names)
sql = "select * from 商品表"
set rs=conn.execute(sql)
do while not rs.eof
response.write "<option value='"&rs(names)&"'>"&rs(names)&"</option>"
rs.movenext
loop
set rs=nothing
end sub
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>高級查詢</title>
<style type="text/css">
ul{
list-style-type:noen;
width:70%;
margin:0 auto;
}
li{
height:35px;
}
</style>
</head>

<body>
<form action="index.asp" name="form1" method="post">
<ul>
<li>
<label>關 鍵 字:</label>
<input type="text" name="key" />
</li>
<li>
<label>查找方式:</label>
<select name="style">
<option value="0" selected="selected">商品代號</option>
<option value="1">商品名稱</option>
</select>
</li>
<li>
<label> 顏色:</label>
<select name="ys">
<option value="0" selected="selected">-請選擇-</option>
<!--插入每個商品顏色。如果是規定顏色,就直接鍵入-->
<%call clas("商品顏色")%>
</select>
</li>
<li>
<label> 尺寸:</label>
<select name="cc">
<option value="0" selected="selected">-請選擇-</option>
<!--插入每個商品尺寸。如果是規定尺寸,就直接鍵入-->
<%call clas("商品尺寸")%>
</select>
</li>
<li>
<label>價格範圍:</label>
<input type="text" name="jg1" />至<input type="text" name="jg2" />元
</li>
<li>
<input type="hidden" name="mode" value="高級查詢" />
<input type="submit" name="send" value="查 詢" />
</li>
</ul>
</form>
</body>
</html>
<% call close_conn %>
有不明處留信

保存為code.asp復制下面代碼
有添加、修改、刪除和簡單分頁
<!--#include file="conn.asp"-->
<%
if request.QueryString("types")<>"" then '判斷是否有添加/修改/刪除的請求
if request.QueryString("types")<>"del" then '驗證添加或修改的表單
dim dh,mc,ys,cc,jg,kc
dh=request.Form("dh")
mc=request.Form("mc")
ys=request.Form("ys")
cc=request.Form("cc")
jg=request.Form("jg")
kc=request.Form("kc")

if dh="" or mc="" or ys="" or cc="" or jg="" then
response.write "<script>alert('信息不完整');window.history.back();</script>"
call close_conn
response.End()
end if

if not isnumeric(jg) then '判斷價格欄是否是整數型
response.write "<script>alert('商品價格只能是整數');window.history.back();</script>"
call close_conn
response.End()
end if

if kc="1" then '判斷庫存狀態
kc=true
else
kc=false
end if

end if
select case request.QueryString("types") '判斷操作類型
case "in"
'添加商品
sql="insert into 商品表(商品代號,商品名稱,商品顏色,商品尺寸,商品價格,商品庫存) values('"&dh&"','"&mc&"','"&ys&"','"&cc&"','"&jg&"',"&kc&")"
conn.execute(sql)
response.write "<script>alert('商品添加成功');window.location.href='code.asp';</script>"
call close_conn
response.End()

case "up"
'修改商品
sql="update 商品表 set 商品代號='"&dh&"',商品名稱='"&mc&"',商品顏色='"&ys&"',商品尺寸='"&cc&"',商品價格='"&jg&"',商品庫存="&kc&" where 編號="&request.QueryString("id")
conn.execute(sql)
response.write "<script>alert('商品修改成功');window.location.href='code.asp';</script>"
call close_conn
response.End()

case "del"
'刪除商品
sql="delete from 商品表 where 編號="&request.QueryString("id")
conn.execute(sql)
response.write "<script>alert('商品刪除成功');window.location.href='code.asp';</script>"
call close_conn
response.End()

end select
end if
if request.QueryString("str")="up" then
sql = "select * from 商品表 where 編號="&request.QueryString("id")&" order by 編號 desc"
else
sql = "select * from 商品表 order by 編號 desc"
end if
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>高級查詢</title>
<style type="text/css">
h2{
text-align:center;
}
ul{
list-style-type:noen;
width:70%;
margin:0 auto;
}
li{
height:35px;
float:left;
width:50%;
}
td{
text-align:center;
background:#fff;
line-height:25px;
font-size:12px;
}
</style>
</head>

<body>
<%
if request.QueryString("str")="up" then
%>
<form action="code.asp?id=<%=rs("編號")%>&types=up" name="form1" method="post">
<h2>添加商品</h2>
<ul>
<li>
<label for="dh">商品代號:</label>
<input type="text" id="dh" name="dh" value="<%=rs("商品代號")%>" />
</li>
<li>
<label for="mc">商品名稱:</label>
<input type="text" id="mc" name="mc" value="<%=rs("商品名稱")%>" />
</li>
<li>
<label for="ys">商品顏色:</label>
<input type="text" id="ys" name="ys" value="<%=rs("商品顏色")%>" />
</li>
<li>
<label for="cc">商品尺寸:</label>
<input type="text" id="cc" name="cc" value="<%=rs("商品尺寸")%>" />
</li>
<li>
<label for="jg">商品價格:</label>
<input type="text" id="jg" name="jg" value="<%=rs("商品價格")%>" />元
</li>
<li>
<label>商品庫存:</label>
<input type="radio" name="kc"<%if not rs("商品庫存") then%> checked="checked"<%end if%> value="0" />充足
<input type="radio" name="kc"<%if rs("商品庫存") then%> checked="checked"<%end if%> value="1" />下架
</li>
<li>
<input type="submit" name="send" value="修改商品" />
<input type="reset" value="重 置">
</li>
</ul>
</form>
<%
else
%>
<form action="code.asp?types=in" name="form1" method="post">
<h2>添加商品</h2>
<ul>
<li>
<label for="dh">商品代號:</label>
<input type="text" id="dh" name="dh" />
</li>
<li>
<label for="mc">商品名稱:</label>
<input type="text" id="mc" name="mc" />
</li>
<li>
<label for="ys">商品顏色:</label>
<input type="text" id="ys" name="ys" />
</li>
<li>
<label for="cc">商品尺寸:</label>
<input type="text" id="cc" name="cc" />
</li>
<li>
<label for="jg">商品價格:</label>
<input type="text" id="jg" name="jg" />元
</li>
<li>
<label>商品庫存:</label>
<input type="radio" name="kc" checked="checked" value="0" />充足
<input type="radio" name="kc" value="1" />下架
</li>
<li>
<input type="submit" name="send" value="添加商品" />
<input type="reset" value="重 置">
</li>
</ul>
</form>
<hr />
<h2>全部商品</h2>
<table border="0" cellspacing="1" cellpadding="0" bgcolor="#bbbbbb" width="80%" align="center">
<tr>
<td width="10%">商品代號</td>
<td width="30%">商品名稱</td>
<td width="10%">商品顏色</td>
<td width="10%">商品尺寸</td>
<td width="10%">商品價格</td>
<td width="10%">庫存</td>
<td width="20%" colspan="2">基本操作</td>
</tr>
<%
if not rs.bof and not rs.eof then
dim i,page
rs.pagesize=10

page=request.QueryString("page")
if page="" or not isnumeric(page) or isnull(page) then
page=1
else
page=cint(page)
end if

rs.absolutepage=page
i=1
do while not rs.eof and i<=rs.pagesize
%>
<tr>
<td><%=rs("商品代號")%></td>
<td><%=rs("商品名稱")%></td>
<td><%=rs("商品顏色")%></td>
<td><%=rs("商品尺寸")%></td>
<td><%=rs("商品價格")%></td>
<% if rs("商品庫存") then %>
<td>下架</td>
<%else%>
<td>充足</td>
<%end if%>
<td><a href="code.asp?id=<%=rs("編號")%>&str=up">修改</a></td>
<td><a href="code.asp?id=<%=rs("編號")%>&types=del">刪除</a></td>
</tr>
<%
rs.movenext
i=i+1
loop
%>
<tr>
<td colspan="8">
<% if page<=1 then %>
<span style="color:#aaaaaa">首頁 上一頁</span>
<% else %>
<a href="code.asp?page=1">首頁</a>
<a href="code.asp?page=<%=page-1%>">上一頁</a>
<%
end if
if page>=rs.pagecount then
%>
<span style="color:#aaaaaa">下一頁 尾頁</span>
<% else %>
<a href="code.asp?page=<%=page+1%>">下一頁</a>
<a href="code.asp?page=<%=rs.pagecount%>">尾頁</a>
<% end if %>
</td>
</tr>
<%
else
%>
<tr>
<td colspan="8">沒有商品信息</td>
</tr>
<%
end if
end if
rs.close
set rs=nothing

call close_conn
%>
</table>
</body>
</html>

⑧ 如何查看網站HTML源代碼

種所見即所得功能對於快速編輯網頁有大好處僅節約了多時間而且容易普及讓更多普通用戶來建立們自己網頁
有時候對些細節調整能設計視圖無法直接調整滿意程度時需要用戶能夠直接HTML源代碼進行編輯
要查看所編輯網頁源代碼簡單只要單擊左下角代碼選項卡即切換HTML源代碼視圖進行底層編輯

⑨ 如何在瀏覽器中查詢網頁的源代碼

按F12鍵撒開開發者模式即可查看源代碼


源代碼(也稱源程序)是指未編譯的按照一定的程序設計語言規范書寫的文本文件,是一系列人類可讀的計算機語言指令。 在現代程序語言中,源代碼可以是以書籍或者磁帶的形式出現,但最為常用的格式是文本文件,這種典型格式的目的是為了編譯出計算機程序。計算機源代碼的最終目的是將人類可讀的文本翻譯成為計算機可以執行的二進制指令,這種過程叫做編譯,通過編譯器完成。

熱點內容
頻率計源碼 發布:2024-09-08 07:40:26 瀏覽:778
奧迪a6哪個配置帶後排加熱 發布:2024-09-08 07:06:32 瀏覽:100
linux修改apache埠 發布:2024-09-08 07:05:49 瀏覽:208
有多少個不同的密碼子 發布:2024-09-08 07:00:46 瀏覽:566
linux搭建mysql伺服器配置 發布:2024-09-08 06:50:02 瀏覽:995
加上www不能訪問 發布:2024-09-08 06:39:52 瀏覽:811
銀行支付密碼器怎麼用 發布:2024-09-08 06:39:52 瀏覽:513
蘋果手機清理瀏覽器緩存怎麼清理緩存 發布:2024-09-08 06:31:32 瀏覽:554
雲伺服器的優點與缺點 發布:2024-09-08 06:30:34 瀏覽:734
上傳下載賺錢 發布:2024-09-08 06:14:51 瀏覽:258