about:config
1. Close firefox by script:
window.close(); (make sure dom.allow_scripts_to_close_windows is true)
(http://stackoverflow.com/questions/760422/how-can-i-close-a-window-with-javascript-on-mozilla-firefox-3)
Có thể tôi không phải là người bạn cảm thấy yêu thương nhưng tôi cũng xin cảm ơn vì bạn đã có mặt trên đời và cho tôi biết rằng được yêu thương ai đó là điều hạnh phúc
Thứ Năm, 29 tháng 12, 2011
Thứ Sáu, 16 tháng 12, 2011
ASP: Working with multiple Recordset
sSQL = "SELECT categoryId, categoryName FROM Categories WHERE categoryId > 3"
sSQL = sSQL & ";SELECT RegionId , RegionDescription FROM Region"
sSQL = sSQL & ";SELECT ShipperID, CompanyName, Phone FROM Shippers"
set oRS = Server.CreateObject("ADODB.Recordset") oRs.Open sSQL, sConnectString
Do While Not oRs.EOF '......some processing here oRs.MoveNext Loop
'To set the next Recordset to the same Recordset (encouraged) Set oRS = oRS.NextRecordset()
'To set the next Recordset to some other Recordset object, in order 'to still be able to access the contents of oRS Set oSomeOtherRS = oRS.NextRecordset()
(http://www.4guysfromrolla.com/webtech/083101-1.shtml)
sSQL = sSQL & ";SELECT RegionId , RegionDescription FROM Region"
sSQL = sSQL & ";SELECT ShipperID, CompanyName, Phone FROM Shippers"
set oRS = Server.CreateObject("ADODB.Recordset") oRs.Open sSQL, sConnectString
Do While Not oRs.EOF '......some processing here oRs.MoveNext Loop
'To set the next Recordset to the same Recordset (encouraged) Set oRS = oRS.NextRecordset()
'To set the next Recordset to some other Recordset object, in order 'to still be able to access the contents of oRS Set oSomeOtherRS = oRS.NextRecordset()
(http://www.4guysfromrolla.com/webtech/083101-1.shtml)
Thứ Ba, 13 tháng 12, 2011
ASP: ServerVariables
<%
for each name in Request.ServerVariables
Response.Write name & ": " & Request.ServerVariables(name) & "<br>"
next
%>
HTTP_REFERER
(http://developer.earthskater.net/aspservervariables.asp)
for each name in Request.ServerVariables
Response.Write name & ": " & Request.ServerVariables(name) & "<br>"
next
%>
HTTP_REFERER
(http://developer.earthskater.net/aspservervariables.asp)
Đăng ký:
Bài đăng (Atom)