Thursday, September 23, 2010

ASP test two simple functions external to submit


This article cites two simple test ASP-function external to submit examples of the first function is ChkPost (), it can detect whether the server name where the user is currently present in the source page, the second function is PostCheck (), it can Through a simple test to see whether the POST form submission.

Function ChkPost ()
Detect the user currently exists in the server name where the source of the page

Code is as follows: Function ChkPost ()

dim server_v1, server_v2
chkpost = False
server_v1 = Cstr (Request.ServerVariables ("HTTP_REFERER"))
server_v2 = Cstr (Request.ServerVariables ("SERVER_NAME"))
If Mid (server_v1, 8, Len (server_v2)) <> server_v2 Then
chkpost = False
Else
chkpost = True
End If
End function

Function PostCheck ()
Very simple test is to test whether the POST method to submit

Code is as follows: Function PostCheck ()

PostCheck = False
If Lcase (Request.ServerVariables ("Request_Method "))=" post" Then PostCheck = True
End Function






Recommended links:



Easy Audio CD Players



QT to WMV



SWF to MOV



ICBC Amendment



Lists E-Commerce



Rising harm the user did not apologize for doing odd tiger, said to be practical



Alternative To Microsoft Office Word 39 S Tools



Photoshop font effects - waffle words



Used to create AUTOMATIC play music listening Pros CD



What is the trend of digital cameras



FreeBSD Serial (35): serial port and modem



FLV to iPhone



CEO Online: Yan Huang Star CEO Chang On August 15 Guest Sina



Directory Cartoons - Screen Savers



Visual Studio 2010 Will Be Formally Included F #



Tuesday, September 14, 2010

U.S. scientists trained computer "understand" the human brain



銆??鍖椾含鏃堕棿5鏈?0鏃ユ秷鎭紝鎹浗澶栧獟浣撴姤閬擄紝缇庡浗鐮旂┒浜哄憳鏄ㄦ棩琛ㄧず锛岀數鑴戠粡杩囧弽澶嶈缁冨悗锛屽彧瑕佷竴鐪嬪埌浜轰滑鍦ㄦ?鑰冩煇浜涜瘝鏃剁殑澶ц剳鎵弿鍥惧儚锛屽氨鑳解?璇绘噦鈥濅粬浠殑鎯虫硶銆?br />
銆??鐮旂┒浜哄憳甯屾湜杩欓」鐮旂┒鍙戠幇鑳戒娇浜轰滑鏇存繁鍏ヤ簡瑙eぇ鑴戝浣曞偍瀛樹俊鎭?棰嗗璇ョ爺绌堕」鐩殑缇庡浗鍗¤?鍩?姊呴殕澶у鏈哄櫒璁ょ煡绯荤殑姹ゅ路绫冲垏灏?Tom Mitchell)琛ㄧず锛岀爺绌跺彲鑳戒細浣胯瑷?殰纰嶅拰璁ょ煡闅滅寰楀埌鏇存湁鏁堢殑娌荤枟銆備粬浠殑鐮旂┒缁撴灉鍒婄櫥鍦ㄦ渶鏂颁竴鏈熺殑銆婄瀛︺?鏉傚織涓娿?

銆??绫冲垏灏旇〃绀猴細鈥滄垜浠瘯鍥捐В绛斾汉浠暟鐧惧勾鏉ラ兘鍦ㄦ?鑰冪殑涓?釜闂锛屽嵆澶ц剳濡備綍缁勭粐鐭ヨ瘑锛熷彧鏄湪杩囧幓10骞存垨15骞撮噷锛屾垜浠墠鑳戒互鎴戜滑甯屾湜鐨勬柟寮忕爺绌惰繖涓棶棰樸?鈥濈背鍒囧皵鐨勭爺绌跺皬缁勯噰鐢ㄤ簡鍔熻兘鎬ф牳纾佸叡鎸垚鍍?fMRI)鎶?湳锛岃繖绉嶅ぇ鑴戞壂鎻忔妧鏈兘瀹炴椂瑙傛祴鍒板ぇ鑴戞椿鍔ㄣ?

銆??鐮旂┒灏忕粍璁?鍚嶅鐢熷織鎰胯?蹇冮噷榛樻兂58涓瘝锛屽悓鏃剁敤鍔熻兘鎬ф牳纾佸叡鎸垚鍍忎华鍣ㄦ媿鎽勪粬浠鍒荤殑澶ц剳娲诲姩鍥惧儚锛屼互姝ゆ潵涓嶆柇鏍″噯鐢佃剳銆傜背鍒囧皵璇达細鈥滄垜浠粰蹇楁効鑰呬笅杈炬寚浠わ紝鍛婅瘔浠栦滑锛屸?鎴戜滑浼氳浣犱滑鐪嬩竴浜涜瘝锛屽笇鏈涗綘浠湪鐪嬪埌杩欎釜璇嶆椂锛屾兂璞′竴涓嬪畠鐨勭壒寰併?鈥欌?

銆??鐮旂┒浜哄憳灞曠ず浜?8涓笉鍚岀殑璇嶏紝骞跺皢9鍚嶅織鎰胯?鐪嬪埌杩欎簺璇嶆椂鐨勫ぇ鑴戞椿鍔ㄦ媿鎽勪笅鏉ワ紝鍒涢?鍑轰竴绉嶅璇嶇殑鈥滃钩鍧団?鍥惧儚銆傜背鍒囧皵璇达細鈥滃鏋滄垜鍚屾椂鍚戜綘灞曠ず涓や釜璇嶇殑澶ц剳鎴愬儚锛屼綘娉ㄦ剰鍒帮紝涓や釜璇嶇湅涓婂幓闈炲父鐩镐技銆傚鏋滀綘鐪嬪畬涓?釜璇嶅悗闅斾竴浼氬効鍐嶇湅鍙︿竴涓瘝锛屼綘鍙兘瑙夊緱瀹冧滑鏈夊皯璁稿樊鍒?鈥?br />
銆??绫冲垏灏旇ˉ鍏呰锛氣?鎴戜滑寮?彂鐨勭▼搴忓彲浠ヨ绠楀嚭鏌愪釜浜哄湪鐪嬪埌鎵?湁杩欎簺璇嶆椂鐨勫ぇ鑴戝钩鍧囨椿鍔ㄣ?閫氳繃杩欑鏂规硶锛屾垜浠彲浠ヨ幏寰楁煇涓汉鍦ㄦ?鑰冧竴涓瘝鏃剁殑骞冲潎鍊硷紝鎺ョ潃锛屾垜浠粠鎵?湁閭d簺鍥惧儚涓噺鍘昏繖涓钩鍧囧?銆傗?

銆??闅忓悗锛屾祴璇曞紑濮嬩簡銆傜背鍒囧皵璇达細鈥滃湪鎴戜滑鐢ㄥ彟澶?8涓瘝杩涜璁粌鍚庯紝鎴戜滑浼氳鈥樿繖閲岄潰鏈変袱涓瘝鏄綘浠ュ墠娌℃湁瑙佽繃鐨勨?鈥旇姽鑿滃拰椋炴満鈥欍?鈥濈爺绌朵汉鍛樿姹傜數鑴戦?鍑轰笌姣忎釜璇嶇浉鍖归厤鐨勫ぇ鑴戝浘鍍忋?缁撴灉锛岀數鑴戦『鍒╅?杩囦簡杩欎竴娴嬭瘯锛屾垚鍔熼娴嬪嚭涓?釜浜哄湪鎯斥?鑺硅彍鈥濇椂鐨勫ぇ鑴戝浘鍍忥紝浠ュ強杩欎釜浜哄湪鎯斥?椋炴満鈥濇椂鐨勫ぇ鑴戝浘鍍忋?

銆??绫冲垏灏旂爺绌跺皬缁勭殑涓嬩竴姝ュ伐浣滃垯鏄爺绌跺ぇ鑴戞椿鍔ㄥ鐭鐨勪笉鍚屽弽搴斻?绫冲垏灏旇锛氣?姣斿鈥樺厰瀛愨?锛屸?璺戝緱蹇殑鍏斿瓙鈥欙紝鈥樿浜哄枩鐖辩殑鍏斿瓙鈥欙紝瀹冧滑閮芥槸杩ョ劧涓嶅悓鐨勬蹇点?鎴戜滑甯屾湜灏嗘浣滀负鐮旂┒璇█濡備綍鍦ㄥぇ鑴戜腑澶勭悊鐨勪竴绉嶆ā寮忋?鈥?br />
銆??绫冲垏灏斿9鍚嶅織鎰胯?澶ц剳娲诲姩瀛樺湪鐨勭浉浼间箣澶勫?鎰熸儕璁讹紝灏界鐮旂┒宸ヤ綔璁╄繖浜涘鐢熻嫤涓嶅牚瑷??涓轰簡鑳借鏍哥鍏辨尟鎴愬儚浠櫒鍙戞尌鏈?ぇ鍔熸晥锛屽織鎰胯?蹇呴』涓?姩涓嶅姩鍧愮潃鎴栬汉鐫?繛缁嚑鍒嗛挓銆傜背鍒囧皵璇达細鈥滀竴涓汉姝ゆ椂寰堥毦闆嗕腑绮惧姏銆傛湁鏃讹紝瀹為獙涓?浠栦滑鐨勮倸瀛愬紑濮嬪挄鍣滃挄鍣滃搷銆備粬浠笉绾﹁?鍚屽湴鎯筹紝鈥樻垜楗夸簡鍟娾?銆傝繖纭疄涓嶆槸涓?鍙帶瀹為獙銆傗?







相关链接:



Converting dvd to wmv



wmv PS3



free mkv converter



Ps3 Rmvb