公告板
 2007-01-18網址變更,請使用新網址瀏覽網站。http://blog.nnickk.com/
 2007-01-17有任何問題歡迎到留言板留言!
 廣告一則電腦桌椅專賣店,另有辦公桌椅、家具、寢具等您來挑...
瀏覽模式: 普通 | 列表

ASP ASP.NET 免費空間 somee

1.105MB 空間
2.月流量3G
3.提供FTP上傳帳號
4.提供第三層域名(http://帳號.somee.com)
5.支援ASP/ASP.NET(Code Behind)
6.支援Access資料庫
7.不限檔案大小
8.免設定費
9.免月費
10.網頁上面有廣告

實際使用中的網站 nnickk Blog
申請網址http://somee.com/FreePackage.aspx
===

使用限制:
1.不可做網路硬碟使用
2.不可當做提供圖片、檔案的下載點
3.禁止情色、違法內容
4.網站內容不可以任何形式夾帶病毒
5.站方強制提供的廣告至少要有0.2%的點閱率,即顯示1000次要被點選2次(舊版)
5.不得隱藏他們的廣告(新版)
6.每月至少10人參訪網站

===
Scripting.FileSystemObject 組件: 支持
MSXML2.ServerXMLHTTP 組件: 支持
Microsoft.XMLDOM 組件: 支持
Msxml2.ServerXMLHTTP.5.0 組件: 不支持
Msxml2.DOMDocument.5.0 組件: 不支持
ADODB.Stream 組件: 支持
FileUp.upload 組件: 不支持
JMail.SMTPMail 組件: 不支持
GflAx190.GflAx 組件: 不支持
easymail.Mailsend 組件: 不支持
Scripting.Dictionary 組件: 支持
標籤:  asp 免費 空間 網站

sql隨機排序

Randomize
Select TOP 5 [TestTitle] FROM [TestTable] orDER BY Rnd(-(自動編號欄位+"&Rnd()&"))


Select *  FROM Northwind..Orders   ORDER BY NEWID()   
Select TOP 10 *   FROM Northwind..Orders   ORDER BY NEWID()

咳嗽

記得很清楚...12/23開始感冒,
因為那天我去面試,星期一要開始上班,
所以記得很清楚12/23號就開始有感冒的感覺了,
沒想到我到今天還在咳嗽,
天呀!都幾天了,
而且我周遭的家人、朋友也都有些症狀,
難道...我是啥的帶原者...

Debug中求生存

今天八點多才下班,
上班兩個多禮拜了,
每天都在Debug中度過時間,
總覺得每天都在腦力激盪,
一場場人腦與人腦之間的對決,
真不知道哪天可以寫出完全沒蟲的程式,
算了,先去洗澡了...


一百塊的門簾...
attachments/month_0601/o200611165911.jpg

textarea 自動調整

<textarea name="contents" cols="40" rows="10" id="contents" onpropertychange="if(this.scrollHeight>=180)this.style.posHeight=this.scrollHeight" onClick="if(this.scrollHeight>=180)this.style.posHeight=this.scrollHeight">預設文字</textarea>

半形字轉全形字

Function chstr(istr) ' 半形轉全形
Dim strtmp
strtmp = Replace(istr, "(", "(")
strtmp = Replace(strtmp, ")", ")")
strtmp = Replace(strtmp, "[", "〔")
strtmp = Replace(strtmp, "]", "〕")
strtmp = Replace(strtmp, "{", "{")
strtmp = Replace(strtmp, "}", "}")
strtmp = Replace(strtmp, ".", "。")
strtmp = Replace(strtmp, ",", ",")
strtmp = Replace(strtmp, ";", ";")
strtmp = Replace(strtmp, ":", ":")
strtmp = Replace(strtmp, "-", "—")
strtmp = Replace(strtmp, "?", "?")
strtmp = Replace(strtmp, "!", "!")
strtmp = Replace(strtmp, "@", "@")
strtmp = Replace(strtmp, "#", "#")
strtmp = Replace(strtmp, "$", "$")
strtmp = Replace(strtmp, "%", "%")
strtmp = Replace(strtmp, "&", "&")
strtmp = Replace(strtmp, "|", "|")
strtmp = Replace(strtmp, "", "\")
strtmp = Replace(strtmp, "/", "/")
strtmp = Replace(strtmp, "+", "+")
strtmp = Replace(strtmp, "=", "=")
strtmp = Replace(strtmp, "*", "*")
strtmp = Replace(strtmp, "0", "0")
strtmp = Replace(strtmp, "1", "1")
strtmp = Replace(strtmp, "2", "2")
strtmp = Replace(strtmp, "3", "3")
strtmp = Replace(strtmp, "4", "4")
strtmp = Replace(strtmp, "5", "5")
strtmp = Replace(strtmp, "6", "6")
strtmp = Replace(strtmp, "7", "7")
strtmp = Replace(strtmp, "8", "8")
strtmp = Replace(strtmp, "9", "9")
strtmp = Replace(strtmp, "a", "a")
strtmp = Replace(strtmp, "b", "b")
strtmp = Replace(strtmp, "c", "c")
strtmp = Replace(strtmp, "d", "d")
strtmp = Replace(strtmp, "e", "e")
strtmp = Replace(strtmp, "f", "f")
strtmp = Replace(strtmp, "g", "g")
strtmp = Replace(strtmp, "h", "h")
strtmp = Replace(strtmp, "i", "i")
strtmp = Replace(strtmp, "j", "j")
strtmp = Replace(strtmp, "k", "k")
strtmp = Replace(strtmp, "l", "l")
strtmp = Replace(strtmp, "m", "m")
strtmp = Replace(strtmp, "n", "n")
strtmp = Replace(strtmp, "o", "o")
strtmp = Replace(strtmp, "p", "p")
strtmp = Replace(strtmp, "q", "q")
strtmp = Replace(strtmp, "r", "r")
strtmp = Replace(strtmp, "s", "s")
strtmp = Replace(strtmp, "t", "t")
strtmp = Replace(strtmp, "u", "u")
strtmp = Replace(strtmp, "v", "v")
strtmp = Replace(strtmp, "w", "w")
strtmp = Replace(strtmp, "x", "x")
strtmp = Replace(strtmp, "y", "y")
strtmp = Replace(strtmp, "z", "z")
strtmp = Replace(strtmp, "A", "A")
strtmp = Replace(strtmp, "B", "B")
strtmp = Replace(strtmp, "C", "C")
strtmp = Replace(strtmp, "D", "D")
strtmp = Replace(strtmp, "E", "E")
strtmp = Replace(strtmp, "F", "F")
strtmp = Replace(strtmp, "G", "G")
strtmp = Replace(strtmp, "H", "H")
strtmp = Replace(strtmp, "I", "I")
strtmp = Replace(strtmp, "J", "J")
strtmp = Replace(strtmp, "K", "K")
strtmp = Replace(strtmp, "L", "L")
strtmp = Replace(strtmp, "M", "M")
strtmp = Replace(strtmp, "N", "N")
strtmp = Replace(strtmp, "O", "O")
strtmp = Replace(strtmp, "P", "P")
strtmp = Replace(strtmp, "Q", "Q")
strtmp = Replace(strtmp, "R", "R")
strtmp = Replace(strtmp, "S", "S")
strtmp = Replace(strtmp, "T", "T")
strtmp = Replace(strtmp, "U", "U")
strtmp = Replace(strtmp, "V", "V")
strtmp = Replace(strtmp, "W", "W")
strtmp = Replace(strtmp, "X", "X")
strtmp = Replace(strtmp, "Y", "Y")
strtmp = Replace(strtmp, "Z", "Z")
strtmp = Replace(strtmp, " ", " ")
chstr = strtmp
End Function

dreamweaver上傳圖片

資料來源:Dreamweaver MX 互動網站百寶箱 for asp 一書

[mDown=attachments/month_0601/v2006110192334.rar]點擊下載此文件[/mDown]

Jmail寄信

----------------------------------------------------------------------------
form.htm
----------------------------------------------------------------------------



JMAIL寄信模組






連絡資料填寫 *為必填區































*姓名:


*電話:

*主題:

*E-Mail:

*連絡事項:









--------------------------------------------------------------------------------
jmail.asp
--------------------------------------------------------------------------------
<%@LANGUAGE="VBSCRIPT" %>
<%
dim username, e_mail, tel, memo
username=Trim(request("username"))
e_mail=Trim(request("e_mail"))
tel=Trim(request("tel"))
memo=Trim(request("memo"))
title=Trim(request("title"))
%>



<%
Set jmail = Server.CreateObject("JMail.Message")
jmail.AddRecipient "xxx@xxx.xxx", "yourname" '此處為收信人的電子郵件位址
jmail.From = "you@name.com.tw" '此處為寄信人的電子郵件位址

jmail.ISOEncodeHeaders = false
jmail.ContentTransferEncoding = "base64"

jmail.Subject = "[JMail測試]--" & title
jmail.Body = ""

' 將圖片附檔夾入信件中
'contentId = jmail.AddAttachment("c:picture.gif")

' 製作信件 HTML 本文
jmail.HTMLBody = ""
'jmail.appendHTML "姓名:" & username & "
電話:" & tel & "
電子郵件:" & e_mail & "
連絡事項:
" & memo
jmail.appendHTML "嗨!!這有一張圖片:
"
'jmail.appendHTML ""
jmail.appendHTML "

"
jmail.Send( "" ) '指定送信伺服器 SMTP ,空白即不指定

%>
信件寄出

網頁自動轉址到top

網頁5秒後自動轉址







 


查無資料 !


五秒後為您轉回首頁!