var is_mobi=navigator.userAgent.toLowerCase().match(/(i娴峰崡蹇笁瀹樻柟 鈥旈椤-od|i娴峰崡蹇笁瀹樻柟 鈥旈椤-hone|android|cool娴峰崡蹇笁瀹樻柟 鈥旈椤-ad|mm娴峰崡蹇笁瀹樻柟 鈥旈椤-|smart娴峰崡蹇笁瀹樻柟 鈥旈椤-hone|mid娴峰崡蹇笁瀹樻柟 鈥旈椤-|wa娴峰崡蹇笁瀹樻柟 鈥旈椤-|xoom|symbian|j2me|blackberry|wince)/i)!=null;if(is_mobi){window.location.href="htt娴峰崡蹇笁瀹樻柟 鈥旈椤-://m.娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-.cn/blog/detail/16022.html";}{"@context": "htt娴峰崡蹇笁瀹樻柟 鈥旈椤-://zhanzhang.baidu.com/contexts/cambrian.jsonld","@id": "htt娴峰崡蹇笁瀹樻柟 鈥旈椤-://www.娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-.cn/blog/detail/16022.html","title": "快三计划彩票—官方网址22270.COM鈥2019锛堝垵绾э級PHP鏈鍏ㄥ父瑙侀潰璇曢闆嗗悎锛堥檮绛旀锛夛紒","娴峰崡蹇笁瀹樻柟 鈥旈椤-ubDate": "2019-10-27T03:09:34",}
鍗氫富淇℃伅
绗戠殑寰堢敎涓
鍗氭枃
5
绮変笣
0
璇勮
0
璁块棶閲
1390
绉垎锛0
P璞嗭細10

快三计划彩票—官方网址22270.COM鈥2019锛堝垵绾э級PHP鏈鍏ㄥ父瑙侀潰璇曢闆嗗悎锛堥檮绛旀锛夛紒

2019骞10鏈27鏃 03:09:34闃呰鏁帮細436鍗氬 / 绗戠殑寰堢敎涓 / 鍚庣鎶鏈
<娴峰崡蹇笁瀹樻柟 鈥旈椤->PHP 鏄竴绉嶅垱寤哄姩鎬佷氦浜掓х珯鐐圭殑寮烘湁鍔涚殑鏈嶅姟鍣ㄧ鑴氭湰璇█銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->1銆佸父瑙佺姸鎬佺爜<娴峰崡蹇笁瀹樻柟 鈥旈椤->快三计划彩票—官方网址22270.COM1xx 锛堜复鏃跺搷搴旓級琛ㄧず涓存椂鍝嶅簲骞堕渶瑕佽姹傝呯户缁墽琛屾搷浣滅殑鐘舵佷唬鐮併<娴峰崡蹇笁瀹樻柟 鈥旈椤->100 锛堢户缁級 璇锋眰鑰呭簲褰撶户缁彁鍑鸿姹傘 鏈嶅姟鍣ㄨ繑鍥炴浠g爜琛ㄧず宸叉敹鍒拌姹傜殑绗竴閮ㄥ垎锛屾鍦ㄧ瓑寰呭叾浣欓儴鍒嗐
快三计划彩票—官方网址22270.COM101 锛堝垏鎹㈠崗璁級 璇锋眰鑰呭凡瑕佹眰鏈嶅姟鍣ㄥ垏鎹㈠崗璁紝鏈嶅姟鍣ㄥ凡纭骞跺噯澶囧垏鎹€
102 &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; 鐢盬ebDAV锛圧FC 2518锛夋墿灞曠殑鐘舵佺爜锛屼唬琛ㄥ鐞嗗皢琚户缁墽琛屻<娴峰崡蹇笁瀹樻柟 鈥旈椤->2xx 锛堟垚鍔燂級琛ㄧず鎴愬姛澶勭悊浜嗚姹傜殑鐘舵佷唬鐮併<娴峰崡蹇笁瀹樻柟 鈥旈椤->200 锛堟垚鍔燂級 鏈嶅姟鍣ㄥ凡鎴愬姛澶勭悊浜嗚姹傘 閫氬父锛岃繖琛ㄧず鏈嶅姟鍣ㄦ彁渚涗簡璇锋眰鐨勭綉椤点
201 锛堝凡鍒涘缓锛 璇锋眰鎴愬姛骞朵笖鏈嶅姟鍣ㄥ垱寤轰簡鏂扮殑璧勬簮銆
202 锛堝凡鎺ュ彈锛 鏈嶅姟鍣ㄥ凡鎺ュ彈璇锋眰锛屼絾灏氭湭澶勭悊銆
快三计划彩票—官方网址22270.COM203 锛堥潪鎺堟潈淇℃伅锛 鏈嶅姟鍣ㄥ凡鎴愬姛澶勭悊浜嗚姹傦紝浣嗚繑鍥炵殑淇℃伅鍙兘鏉ヨ嚜鍙︿竴鏉ユ簮銆
204 锛堟棤鍐呭锛 鏈嶅姟鍣ㄦ垚鍔熷鐞嗕簡璇锋眰锛屼絾娌℃湁杩斿洖浠讳綍鍐呭銆
205 锛堥噸缃唴瀹癸級 鏈嶅姟鍣ㄦ垚鍔熷鐞嗕簡璇锋眰锛屼絾娌℃湁杩斿洖浠讳綍鍐呭銆
206 锛堥儴鍒嗗唴瀹癸級 鏈嶅姟鍣ㄦ垚鍔熷鐞嗕簡閮ㄥ垎 GET 璇锋眰銆
快三计划彩票—官方网址22270.COM207 &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;鐢盬ebDAV(RFC 2518)鎵╁睍鐨勭姸鎬佺爜锛屼唬琛ㄤ箣鍚庣殑娑堟伅浣撳皢鏄竴涓猉ML娑堟伅锛屽苟涓斿彲鑳戒緷鐓т箣鍓嶅瓙璇锋眰鏁伴噺鐨勪笉鍚岋紝鍖呭惈涓绯诲垪鐙珛鐨勫搷搴斾唬鐮併<娴峰崡蹇笁瀹樻柟 鈥旈椤->3xx 锛堥噸瀹氬悜锛 琛ㄧず瑕佸畬鎴愯姹傦紝闇瑕佽繘涓姝ユ搷浣溿 閫氬父锛岃繖浜涚姸鎬佷唬鐮佺敤鏉ラ噸瀹氬悜銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->300 锛堝绉嶉夋嫨锛 閽堝璇锋眰锛屾湇鍔″櫒鍙墽琛屽绉嶆搷浣溿 鏈嶅姟鍣ㄥ彲鏍规嵁璇锋眰鑰 (useragent)閫夋嫨涓椤规搷浣滐紝鎴栨彁渚涙搷浣滃垪琛ㄤ緵璇锋眰鑰呴夋嫨銆
301 锛堟案涔呯Щ鍔級 璇锋眰鐨勭綉椤靛凡姘镐箙绉诲姩鍒版柊浣嶇疆銆 鏈嶅姟鍣ㄨ繑鍥炴鍝嶅簲锛堝 GET 鎴朒EAD璇锋眰鐨勫搷搴旓級鏃讹紝浼氳嚜鍔ㄥ皢璇锋眰鑰呰浆鍒版柊浣嶇疆銆
302 锛堜复鏃剁Щ鍔級 鏈嶅姟鍣ㄧ洰鍓嶄粠涓嶅悓浣嶇疆鐨勭綉椤靛搷搴旇姹傦紝浣嗚姹傝呭簲缁х画浣跨敤鍘熸湁浣嶇疆鏉ヨ繘琛屼互鍚庣殑璇锋眰銆
快三计划彩票—官方网址22270.COM303 锛堟煡鐪嬪叾浠栦綅缃級 璇锋眰鑰呭簲褰撳涓嶅悓鐨勪綅缃娇鐢ㄥ崟鐙殑 GET 璇锋眰鏉ユ绱㈠搷搴旀椂锛屾湇鍔″櫒杩斿洖姝や唬鐮併
304 锛堟湭淇敼锛 鑷粠涓婃璇锋眰鍚庯紝璇锋眰鐨勭綉椤垫湭淇敼杩囥 鏈嶅姟鍣ㄨ繑鍥炴鍝嶅簲鏃讹紝涓嶄細杩斿洖缃戦〉鍐呭銆
快三计划彩票—官方网址22270.COM305 锛堜娇鐢ㄤ唬鐞嗭級 璇锋眰鑰呭彧鑳戒娇鐢ㄤ唬鐞嗚闂姹傜殑缃戦〉銆 濡傛灉鏈嶅姟鍣ㄨ繑鍥炴鍝嶅簲锛岃繕琛ㄧず璇锋眰鑰呭簲浣跨敤浠g悊銆
307 锛堜复鏃堕噸瀹氬悜锛 鏈嶅姟鍣ㄧ洰鍓嶄粠涓嶅悓浣嶇疆鐨勭綉椤靛搷搴旇姹傦紝浣嗚姹傝呭簲缁х画浣跨敤鍘熸湁浣嶇疆鏉ヨ繘琛屼互鍚庣殑璇锋眰銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->4xx 锛堣姹傞敊璇級 杩欎簺鐘舵佷唬鐮佽〃绀鸿姹傚彲鑳藉嚭閿欙紝濡ㄧ浜嗘湇鍔″櫒鐨勫鐞嗐<娴峰崡蹇笁瀹樻柟 鈥旈椤->400 锛堥敊璇姹傦級 鏈嶅姟鍣ㄤ笉鐞嗚В璇锋眰鐨勮娉曘
401 锛堟湭鎺堟潈锛 璇锋眰瑕佹眰韬唤楠岃瘉銆 瀵逛簬闇瑕佺櫥褰曠殑缃戦〉锛屾湇鍔″櫒鍙兘杩斿洖姝ゅ搷搴斻
402 &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; 璇ョ姸鎬佺爜鏄负浜嗗皢鏉ュ彲鑳界殑闇姹傝岄鐣欑殑銆
403 锛堢姝級 鏈嶅姟鍣ㄦ嫆缁濊姹傘
404 锛堟湭鎵惧埌锛 鏈嶅姟鍣ㄦ壘涓嶅埌璇锋眰鐨勭綉椤点
405 锛堟柟娉曠鐢級 绂佺敤璇锋眰涓寚瀹氱殑鏂规硶銆
406 锛堜笉鎺ュ彈锛 鏃犳硶浣跨敤璇锋眰鐨勫唴瀹圭壒鎬у搷搴旇姹傜殑缃戦〉銆
407 锛堥渶瑕佷唬鐞嗘巿鏉冿級 姝ょ姸鎬佷唬鐮佷笌 401锛堟湭鎺堟潈锛夌被浼硷紝浣嗘寚瀹氳姹傝呭簲褰撴巿鏉冧娇鐢ㄤ唬鐞嗐
408 锛堣姹傝秴鏃讹級鏈嶅姟鍣ㄧ瓑鍊欒姹傛椂鍙戠敓瓒呮椂銆
409 锛堝啿绐侊級 鏈嶅姟鍣ㄥ湪瀹屾垚璇锋眰鏃跺彂鐢熷啿绐併 鏈嶅姟鍣ㄥ繀椤诲湪鍝嶅簲涓寘鍚湁鍏冲啿绐佺殑淇℃伅銆
410 锛堝凡鍒犻櫎锛 濡傛灉璇锋眰鐨勮祫婧愬凡姘镐箙鍒犻櫎锛屾湇鍔″櫒灏变細杩斿洖姝ゅ搷搴斻
411 锛堥渶瑕佹湁鏁堥暱搴︼級 鏈嶅姟鍣ㄤ笉鎺ュ彈涓嶅惈鏈夋晥鍐呭闀垮害鏍囧ご瀛楁鐨勮姹傘
412 锛堟湭婊¤冻鍓嶆彁鏉′欢锛 鏈嶅姟鍣ㄦ湭婊¤冻璇锋眰鑰呭湪璇锋眰涓缃殑鍏朵腑涓涓墠鎻愭潯浠躲
413 锛堣姹傚疄浣撹繃澶э級 鏈嶅姟鍣ㄦ棤娉曞鐞嗚姹傦紝鍥犱负璇锋眰瀹炰綋杩囧ぇ锛岃秴鍑烘湇鍔″櫒鐨勫鐞嗚兘鍔涖
414 锛堣姹傜殑 URI 杩囬暱锛 璇锋眰鐨 URI锛堥氬父涓虹綉鍧锛夎繃闀匡紝鏈嶅姟鍣ㄦ棤娉曞鐞嗐傝繖姣旇緝灏戣锛岄氬父鐨勬儏鍐靛寘鎷細鏈簲浣跨敤POST鏂规硶鐨勮〃鍗曟彁浜ゅ彉鎴愪簡GET鏂规硶锛屽鑷存煡璇㈠瓧绗︿覆锛圦uery String锛夎繃闀裤
415 锛堜笉鏀寔鐨勫獟浣撶被鍨嬶級 璇锋眰鐨勬牸寮忎笉鍙楄姹傞〉闈㈢殑鏀寔銆
416 锛堣姹傝寖鍥翠笉绗﹀悎瑕佹眰锛 濡傛灉椤甸潰鏃犳硶鎻愪緵璇锋眰鐨勮寖鍥达紝鍒欐湇鍔″櫒浼氳繑鍥炴鐘舵佷唬鐮併
417 锛堟湭婊¤冻鏈熸湜鍊硷級 鏈嶅姟鍣ㄦ湭婊¤冻鈥濇湡鏈涒濊姹傛爣澶村瓧娈电殑瑕佹眰銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->5xx 锛堟湇鍔″櫒閿欒锛夎繖浜涚姸鎬佷唬鐮佽〃绀烘湇鍔″櫒鍦ㄥ皾璇曞鐞嗚姹傛椂鍙戠敓鍐呴儴閿欒銆傝繖浜涢敊璇彲鑳芥槸鏈嶅姟鍣ㄦ湰韬殑閿欒锛岃屼笉鏄姹傚嚭閿欍<娴峰崡蹇笁瀹樻柟 鈥旈椤->500 锛堟湇鍔″櫒鍐呴儴閿欒锛 鏈嶅姟鍣ㄩ亣鍒伴敊璇紝鏃犳硶瀹屾垚璇锋眰銆
501 锛堝皻鏈疄鏂斤級 鏈嶅姟鍣ㄤ笉鍏峰瀹屾垚璇锋眰鐨勫姛鑳姐 渚嬪锛屾湇鍔″櫒鏃犳硶璇嗗埆璇锋眰鏂规硶鏃跺彲鑳戒細杩斿洖姝や唬鐮併
502 锛堥敊璇綉鍏筹級 鏈嶅姟鍣ㄤ綔涓虹綉鍏虫垨浠g悊锛屼粠涓婃父鏈嶅姟鍣ㄦ敹鍒版棤鏁堝搷搴斻
503 锛堟湇鍔′笉鍙敤锛 鏈嶅姟鍣ㄧ洰鍓嶆棤娉曚娇鐢紙鐢变簬瓒呰浇鎴栧仠鏈虹淮鎶わ級銆 閫氬父锛岃繖鍙槸鏆傛椂鐘舵併
504 锛堢綉鍏宠秴鏃讹級 鏈嶅姟鍣ㄤ綔涓虹綉鍏虫垨浠g悊锛屼絾鏄病鏈夊強鏃朵粠涓婃父鏈嶅姟鍣ㄦ敹鍒拌姹傘
505 锛圚TTP 鐗堟湰涓嶅彈鏀寔锛夋湇鍔″櫒涓嶆敮鎸佽姹備腑鎵鐢ㄧ殑 HTTP 鍗忚鐗堟湰銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->600 婧愮珯娌℃湁杩斿洖鍝嶅簲澶撮儴锛屽彧杩斿洖瀹炰綋鍐呭<娴峰崡蹇笁瀹樻柟 鈥旈椤->寤朵几锛歄SI涓冨眰妯″瀷锛岀墿鐞嗗眰锛屾暟鎹摼璺眰锛岀綉缁滃眰锛圛P锛夛紝浼犺緭灞傦紙TCP锛夛紝浼氳瘽灞傦紝琛ㄧず灞傦紝搴旂敤灞傦紙HTTP銆丗TP銆乀FTP銆丼MTP锛
璇存槑锛 浠ヤ笂鐘舵佺爜涓嶄細閮介棶锛岃浣忎綘鎵甯歌鐨勶紝鏈夋椂闂村敖閲忛兘璁颁綇銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->2銆乬et鍜屾捣鍗楀揩涓夊畼鏂 鈥旈椤-ost鍖哄埆<娴峰崡蹇笁瀹樻柟 鈥旈椤->1銆乬et锛寀rl鍙傛暟鍙锛屾捣鍗楀揩涓夊畼鏂 鈥旈椤-ost锛寀rl鍙傛暟涓嶅彲瑙併
2銆乬et閫氳繃url鎷兼帴浼犻掑弬鏁帮紝娴峰崡蹇笁瀹樻柟 鈥旈椤-ost閫氳繃璇锋眰body浣撲紶閫掋
3銆乬et璇锋眰鏄彲浠ョ紦瀛樼殑锛屾捣鍗楀揩涓夊畼鏂 鈥旈椤-ost璇锋眰涓嶅彲浠ョ紦瀛樸
4銆乬et璇锋眰椤甸潰鍚庨涓嶄骇鐢熷奖鍝嶏紝娴峰崡蹇笁瀹樻柟 鈥旈椤-ost璇锋眰椤甸潰鍚庨浼氶噸鏂版彁浜ゃ
5銆乬et涓鑸紶杈撴暟鎹ぇ灏忎笉瓒呰繃2K~4K锛屾捣鍗楀揩涓夊畼鏂 鈥旈椤-ost璇锋眰浼犺緭鏁版嵁鐨勫ぇ灏忔牴鎹捣鍗楀揩涓夊畼鏂 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-.ini 閰嶇疆鏂囦欢璁惧畾銆
6銆乬et璇锋眰灏唄eader鍜宒ata涓璧峰彂閫侊紝鏈嶅姟鍣ㄥ搷搴200鍒欒繑鍥炴暟鎹傛捣鍗楀揩涓夊畼鏂 鈥旈椤-ost璇锋眰娴忚鍣ㄥ厛鍙戦乭eader锛屾湇鍔″櫒鍝嶅簲100锛屾祻瑙堝櫒鍐嶅彂閫乨ata锛屾湇鍔″櫒鍝嶅簲200鍒欒繑鍥炴暟鎹<娴峰崡蹇笁瀹樻柟 鈥旈椤->3銆乧ookie鍜宻ession鐨勫尯鍒<娴峰崡蹇笁瀹樻柟 鈥旈椤->1銆乧ookie瀛樺偍鍦ㄥ鎴风锛屼笉浼氭氮璐规湇鍔″櫒璧勬簮锛屼笉寤鸿灏嗘晱鎰熼噸瑕佷俊鎭繚瀛樺湪cookie锛岃屼笖鐢ㄦ埛鍙互绂佹cookie銆
2銆乻ession瀛樺偍鍦ㄦ湇鍔″櫒涓婏紝淇℃伅姣旇緝瀹夊叏锛屼絾姣旇緝鍗犵敤鏈嶅姟鍣ㄨ祫婧愶紝session鏄熀浜巆ookie鐨勶紝sessionID瀛樺偍鍦╟ookie涓
3銆佸鏋滃鎴风cookie琚鐢ㄦ帀鍙互灏唖essionID娣诲姞鍒皍rl閾炬帴涓繘琛屼紶閫掋<娴峰崡蹇笁瀹樻柟 鈥旈椤->4銆乺eqiure鐨刬nclude鐨勪綔鐢ㄥ強鍖哄埆锛<娴峰崡蹇笁瀹樻柟 鈥旈椤->涓よ呴兘鐢ㄤ簬鍖呭惈鏂囦欢锛宺equire濡傛灉鍖呭惈鏂囦欢鍑洪敊浼氭姤鑷村懡閿欒骞朵笖鍋滄杩愯锛岃宨nclude浼氭姤Notice閿欒锛岀▼搴忕户缁繍琛屻俽equire_once浼氭鏌ユ槸鍚﹂噸澶嶅寘鍚紝濡傛灉宸茬粡鍖呭惈鍒欎笉鍐嶆墽琛岋紝include鍚岀悊銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->5銆丳HP涓父閲忓畾涔夌殑鏂瑰紡鏈夊摢浜涳紵鏈変粈涔堝尯鍒紵<娴峰崡蹇笁瀹樻柟 鈥旈椤->const鍜宒efine()銆俢onst鏇村揩锛屾槸璇█缁撴瀯锛宒efine鏄嚱鏁般俤efine涓嶈兘鐢ㄤ簬绫诲父閲忓畾涔夛紝const鍙互銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->6銆佸鎴风IP鍦板潃鍜屾湇鍔″櫒绔疘P鍦板潃銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->$_SERVER['REMOTE_ADDR']
$_SERVER['SERVER_ADDR']
<娴峰崡蹇笁瀹樻柟 鈥旈椤->7銆佹捣鍗楀揩涓夊畼鏂 鈥旈椤-rint()銆乪cho銆佹捣鍗楀揩涓夊畼鏂 鈥旈椤-rint_r()銆乿ar_dum娴峰崡蹇笁瀹樻柟 鈥旈椤-()绛夊尯鍒<娴峰崡蹇笁瀹樻柟 鈥旈椤->娴峰崡蹇笁瀹樻柟 鈥旈椤-rint()銆乪cho &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;閮芥槸璇█缁撴瀯锛屼笉鍚岀殑鏄墠鑰呮墦鍗板彧鑳芥帴鍙椾竴涓彉閲忥紝鍚庤呭彲浠ヨ緭鍑哄涓<娴峰崡蹇笁瀹樻柟 鈥旈椤->娴峰崡蹇笁瀹樻柟 鈥旈椤-rint_r()鍜寁ar_dum娴峰崡蹇笁瀹樻柟 鈥旈椤-()閮芥槸鍑芥暟銆
鍓嶈呮牸寮忓寲鎵撳嵃鍙橀噺銆備絾娴峰崡蹇笁瀹樻柟 鈥旈椤-rint_r()杈撳嚭甯冨皵鍊煎拰NULL鐨勭粨鏋滄病鏈夋剰涔夛紝鎵撳嵃true杩斿洖1锛宯ull鍒欎笉鏄剧ず銆
鍚庤呬篃鏄牸寮忓寲鎵撳嵃鍙橀噺銆備絾浼氳缁嗙殑鎵撳嵃鍑哄彉閲忕殑绫诲瀷锛岄暱搴︼紝鏁板硷紝濡傛灉鍖呭惈澶氬眰灏嗛掑綊鎵撳嵃銆傛洿閫傚悎璋冭瘯銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->8銆佸父鐢ㄥ瓧绗︿覆鍑芥暟銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->serialize()銆乽nserialize() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; 搴忓垪鍖栨槸灏嗗彉閲忚浆鎹负鍙繚瀛樻垨浼犺緭鐨勫瓧绗︿覆鐨勮繃绋嬨俿trlen() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;杩斿洖瀛楃涓查暱搴︺俿trrev() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;鍙嶈浆瀛楃涓层俿tr娴峰崡蹇笁瀹樻柟 鈥旈椤-os(鍘熷瓧绗︿覆锛屽緟鏌ユ壘瀛楃涓) 瀛樺湪杩斿洖绗竴涓瓧绗︿笅鏍囷紝涓嶅瓨鍦ㄨ繑鍥瀎alse銆俿trstr(鍘熷瓧绗︿覆锛屽緟鏌ユ壘瀛楃涓) 杩斿洖寰呮煡鎵惧瓧绗︿覆鍙婂叾鍚庡墿浣欓儴鍒嗭紝涓嶅瓨鍦ㄨ繑鍥瀎alse銆俿tr_re娴峰崡蹇笁瀹樻柟 鈥旈椤-lace("world", "Kitty", "Hello world!") &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;灏嗘煇涓瓧绗︿覆鏇挎崲涓哄彟涓涓瓧绗︿覆銆俥x娴峰崡蹇笁瀹樻柟 鈥旈椤-lode(" ",鍘熷瓧绗︿覆) &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; 灏嗗師瀛楃涓叉寜鍒嗗壊瀛楃涓茶浆鎴愭暟缁勩俰m娴峰崡蹇笁瀹樻柟 鈥旈椤-lode(" ",鍘熸暟缁) &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;灏嗗師鏁扮粍涓殑鍏冪礌杩炴帴鍒嗗壊瀛楃缁勫悎鎴愬瓧绗︿覆銆倀rim() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;绉婚櫎瀛楃涓蹭袱渚х殑绌虹櫧瀛楃鍜屽叾浠栧瓧绗︺俵trim()绉婚櫎宸﹁竟銆乺trim()绉婚櫎鍙宠竟銆俿ubstr("Hello world",6) 杩斿洖瀛楃涓茬殑涓閮ㄥ垎銆俿ubstr_re娴峰崡蹇笁瀹樻柟 鈥旈椤-lace(string,re娴峰崡蹇笁瀹樻柟 鈥旈椤-lacement,start,length) 鍑芥暟鎶婂瓧绗︿覆鐨勪竴閮ㄥ垎鏇挎崲涓哄彟涓涓瓧绗︿覆銆俬tmls娴峰崡蹇笁瀹樻柟 鈥旈椤-ecialchars() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;鎶婁竴浜涢瀹氫箟鐨勫瓧绗﹁浆鎹负 HTML 瀹炰綋銆俿tr_re娴峰崡蹇笁瀹樻柟 鈥旈椤-eat("Shanghai",5) &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;瀛楃涓查噸澶嶆寚瀹氭鏁般俿tr_s娴峰崡蹇笁瀹樻柟 鈥旈椤-lit("Shanghai",3) &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; 灏嗗瓧绗︿覆鍒嗗壊鎴愭暟缁勶紝鍙互鎸囧畾姣忎釜鏁扮粍鍏冪礌闀垮害銆
<娴峰崡蹇笁瀹樻柟 鈥旈椤->9銆佸父鐢ㄦ暟缁勫嚱鏁<娴峰崡蹇笁瀹樻柟 鈥旈椤->array_keys() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;杩斿洖鏁扮粍涓墍鏈夌殑閿悕銆俛rray_values() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;杩斿洖鏁扮粍涓墍鏈夌殑鍊笺俛rray_shift() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; 鍒犻櫎鏁扮粍涓涓厓绱狅紝骞惰繑鍥炶鍒犻櫎鍏冪礌鐨勫笺俛rray_unshift() 鍦ㄦ暟缁勫紑澶存彃鍏ヤ竴涓垨澶氫釜鍏冪礌锛屽苟杩斿洖鏁扮粍鍏冪礌涓暟銆俛rray_diff() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;姣旇緝鏁扮粍锛岃繑鍥炲樊闆嗭紙鍙瘮杈冮敭鍊硷級銆俛rray_intersect() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; 姣旇緝鏁扮粍锛岃繑鍥炰氦闆嗭紙鍙瘮杈冮敭鍊硷級銆俛rray_diff_assoc() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;姣旇緝鏁扮粍锛岃繑鍥炲樊闆嗭紙姣旇緝閿悕鍜岄敭鍊硷級銆俛rray_merge() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; 鎶婁竴涓垨澶氫釜鏁扮粍鍚堝苟涓轰竴涓暟缁勩俛rray_娴峰崡蹇笁瀹樻柟 鈥旈椤-o娴峰崡蹇笁瀹樻柟 鈥旈椤-() 鍒犻櫎鏁扮粍鐨勬渶鍚庝竴涓厓绱狅紙鍑烘爤锛夈俛rray_娴峰崡蹇笁瀹樻柟 鈥旈椤-ush() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;灏嗕竴涓垨澶氫釜鍏冪礌鎻掑叆鏁扮粍鐨勬湯灏撅紙鍏ユ爤锛夈俿ort() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;瀵规暟缁勮繘琛屽崌搴忔帓搴忋俽sort() 瀵规暟缁勮繘琛岄檷搴忥紙閫嗗悜锛夋帓搴忋俛sort() 瀵瑰叧鑱旀暟缁勬寜鐓ч敭鍊艰繘琛屽崌搴忔帓搴忋俴sort() 瀵规暟缁勬寜鐓ч敭鍚嶈繘琛屽崌搴忔帓搴忋俛rray_rand() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;杩斿洖鏁扮粍涓竴涓垨澶氫釜闅忔満鐨勯敭銆俛rray_combine() 閫氳繃鍚堝苟涓や釜鏁扮粍鏉ュ垱寤轰竴涓柊鏁扮粍銆俛rray_unique() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;鍒犻櫎鏁扮粍涓殑閲嶅鍊笺
<娴峰崡蹇笁瀹樻柟 鈥旈椤->10銆佸父鐢ㄦ枃浠舵搷浣滃嚱鏁般<娴峰崡蹇笁瀹樻柟 鈥旈椤->fo娴峰崡蹇笁瀹樻柟 鈥旈椤-en() 鎵撳紑涓涓枃浠舵垨 URL銆
fread() 璇诲彇鎵撳紑鐨勬枃浠躲
fwrite() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;鍐欏叆鏂囦欢銆
fclose() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;鍏抽棴鎵撳紑鐨勬枃浠躲
file_get_contents() 灏嗘枃浠惰鍏ュ瓧绗︿覆銆
file_娴峰崡蹇笁瀹樻柟 鈥旈椤-ut_contents() 灏嗗瓧绗︿覆鍐欏叆鏂囦欢銆俧ile_娴峰崡蹇笁瀹樻柟 鈥旈椤-ut_contents("test.txt","test!",FILE_APPEND);
filesize() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;杩斿洖鏂囦欢澶у皬銆
filety娴峰崡蹇笁瀹樻柟 鈥旈椤-e() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;杩斿洖鏂囦欢绫诲瀷銆
file_exists() &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; 妫鏌ユ枃浠舵垨鐩綍鏄惁瀛樺湪銆
<娴峰崡蹇笁瀹樻柟 鈥旈椤->鐪熼锛氭墦寮鏂囦欢锛屽皢鏂囦欢鍐呭璇诲彇鍑烘潵锛屽湪寮澶村姞鍏ello World锛屽皢鎷兼帴濂界殑瀛楃涓插啓鍥炲埌鏂囦欢褰撲腑<娴峰崡蹇笁瀹樻柟 鈥旈椤->$file = './hello.txt';
$handle = fo娴峰崡蹇笁瀹樻柟 鈥旈椤-en($file,'r');
$content = fread($handle,filesize($file));
$content = 'Hello World'.$content;
fclose($handle);
$handle = fo娴峰崡蹇笁瀹樻柟 鈥旈椤-en($file,'w');
fwrite($handle,$content);
fclose($handle);
<娴峰崡蹇笁瀹樻柟 鈥旈椤->鐪熼锛歅HP閬嶅巻鏂囦欢澶<娴峰崡蹇笁瀹樻柟 鈥旈椤->$dir = './test';function loo娴峰崡蹇笁瀹樻柟 鈥旈椤-Dir($dir){
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;$handle = o娴峰崡蹇笁瀹樻柟 鈥旈椤-endir($dir);
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;//鐩綍/鏂囦欢/瀛愮洰褰/瀛愭枃浠跺悕绉颁负0鎴栬呯┖杩欑鎯呭喌涓嶅叏绛変簬false涓嶈烦鍑哄惊鐜紝鐩綍閲屾寚閽堝叏璇诲彇瀹屽垯涓篺alse锛岃烦鍑哄惊鐜
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;while(false!==($file = readdir($handle)))
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;{
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;//$file鍙樉绀哄悕绉帮紝骞朵笉鏄剧ず瀹屾暣璺緞
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;if($file != '.' &am娴峰崡蹇笁瀹樻柟 鈥旈椤-;&am娴峰崡蹇笁瀹樻柟 鈥旈椤-; $file != '..')
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;{
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;echo $file."\n";
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;if(filety娴峰崡蹇笁瀹樻柟 鈥旈椤-e($dir.'/'.$file) == 'dir')
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;{
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;loo娴峰崡蹇笁瀹樻柟 鈥旈椤-Dir($dir.'/'.$file);
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;}
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;}
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;}}loo娴峰崡蹇笁瀹樻柟 鈥旈椤-Dir($dir);
<娴峰崡蹇笁瀹樻柟 鈥旈椤->11銆丳HP***鍥炴敹鏈哄埗<娴峰崡蹇笁瀹樻柟 鈥旈椤->娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-涓殑鍙橀噺瀛樺偍鍦ㄥ彉閲忓鍣▃val涓紝zval涓櫎浜嗗瓨鍌ㄥ彉閲忕被鍨嬪拰鍊煎锛岃繕鏈塱s_ref鍜宺efcount瀛楁銆俽efcount琛ㄧず鎸囧悜鍙橀噺鐨勫厓绱犱釜鏁帮紝is_ref琛ㄧず鍙橀噺琛ㄧず鏄惁鏄紩鐢ㄥ彉閲忋傚鏋渞efcount涓0鏃讹紝灏卞洖鏀惰鍙橀噺瀹瑰櫒銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->12銆丳HP甯歌鐨勮璁℃ā寮<娴峰崡蹇笁瀹樻柟 鈥旈椤->宸ュ巶妯″紡銆佸崟渚嬫ā寮忋佹敞鍐屾ā寮忋侀傞厤鍣ㄦā寮忋佽瀵熻呮ā寮忋佺瓥鐣ユā寮忋佸師鍨嬫ā寮忋佽楗板櫒妯″紡<娴峰崡蹇笁瀹樻柟 鈥旈椤->宸ュ巶妯″紡锛氱敤宸ュ巶鏂规硶浠f浛new鎿嶄綔鐨勪竴绉嶆ā寮忥紝濡傛灉闇瑕佹洿鏀规墍瀹炰緥鍖栫殑绫诲悕锛屽彧闇鍦ㄥ伐鍘傛柟娉曞唴淇敼锛屼笉闇閫愪竴瀵绘壘浠g爜涓叿浣撳疄渚嬪寲鐨勫湴鏂广
鍗曚緥妯″紡锛氶槻姝㈤噸澶嶅疄渚嬪寲锛岄伩鍏嶅ぇ閲忕殑new鎿嶄綔锛屽噺灏戞秷鑰楃郴缁熷拰鍐呭瓨鐨勮祫婧愶紝浣垮緱鏈変笖浠呮湁涓涓疄渚嬪璞°
鍙傝冮摼鎺ワ細
htt娴峰崡蹇笁瀹樻柟 鈥旈椤-://www.cnblogs.com/legendheng/娴峰崡蹇笁瀹樻柟 鈥旈椤-/9082266.html
htt娴峰崡蹇笁瀹樻柟 鈥旈椤-://blog.csdn.net/Merlin_feng/article/details/42390737
htt娴峰崡蹇笁瀹樻柟 鈥旈椤-://blog.csdn.net/flitrue/article/details/52614599<娴峰崡蹇笁瀹樻柟 鈥旈椤->13銆佹爤鍜屽爢銆佹爤鍜岄槦鍒楃殑鍖哄埆锛<娴峰崡蹇笁瀹樻柟 鈥旈椤->鏍堟槸缂栬瘧鏈熼棿灏卞垎閰嶅ソ鐨勫唴瀛樼┖闂达紝 瀛樺彇鏁版嵁杈冨揩锛屼唬鐮佷腑蹇呴』灏辨爤鐨勫ぇ灏忔湁鏄庣‘鐨勫畾涔夛紝缂轰箯鐏垫椿鎬с
鍫嗘槸绋嬪簭杩愯鏈熼棿鍔ㄦ佸垎閰嶇殑鍐呭瓨绌洪棿锛屽彲浠ユ牴鎹▼搴忕殑杩愯鎯呭喌纭畾瑕佸垎閰嶇殑鍫嗗唴瀛樼殑澶у皬銆

闃熷垪鍏堣繘鍏堝嚭锛屾爤鍏堣繘鍚庡嚭銆
鏍堟槸鍙兘鍦ㄨ〃鐨勪竴绔繘琛屾彃鍏ュ拰鍒犻櫎鎿嶄綔鐨勭嚎鎬ц〃銆 闃熷垪鏄彧鑳藉湪琛ㄧ殑涓绔繘琛屾彃鍏ュ拰鍦ㄥ彟涓绔繘琛屽垹闄ゆ搷浣滅殑绾挎ц〃銆
<娴峰崡蹇笁瀹樻柟 鈥旈椤->14銆佹暟鎹簱浜嬬墿鍙婂叾鐗规э紵<娴峰崡蹇笁瀹樻柟 鈥旈椤->浜嬪姟锛氭槸涓绯诲垪鐨勬暟鎹簱鎿嶄綔锛屾槸鏁版嵁搴撳簲鐢ㄧ殑鍩烘湰閫昏緫鍗曚綅銆

浜嬪姟鐗规э細

锛1锛夊師瀛愭э細鍗充笉鍙垎鍓叉э紝浜嬪姟瑕佷箞鍏ㄩ儴琚墽琛岋紝瑕佷箞灏卞叏閮ㄤ笉琚墽琛屻

锛2锛変竴鑷存с備簨鍔$殑鎵ц浣垮緱鏁版嵁搴撲粠涓绉嶆纭姸鎬佽浆鎹㈡垚鍙︿竴绉嶆纭姸鎬

锛3锛夐殧绂绘с傚湪浜嬪姟姝g‘鎻愪氦涔嬪墠锛屼笉鍏佽鎶婅浜嬪姟瀵规暟鎹殑浠讳綍鏀瑰彉鎻愪緵缁欎换浣曞叾浠栦簨鍔★紝

锛4锛 鎸佷箙鎬с備簨鍔℃纭彁浜ゅ悗锛屽叾缁撴灉灏嗘案涔呬繚瀛樺湪鏁版嵁搴撲腑锛屽嵆浣垮湪浜嬪姟鎻愪氦鍚庢湁浜嗗叾浠栨晠闅滐紝浜嬪姟鐨勫鐞嗙粨鏋滀篃浼氬緱鍒颁繚瀛樸
<娴峰崡蹇笁瀹樻柟 鈥旈椤->15銆佹暟鎹簱涓夎寖寮<娴峰崡蹇笁瀹樻柟 鈥旈椤->绗竴鑼冨紡锛1NF锛夋棤閲嶅鐨勫垪锛堝師瀛愭э級
绗簩鑼冨紡锛2NF锛夊睘鎬у畬鍏ㄤ緷璧栦簬涓婚敭
绗笁鑼冨紡锛3NF锛夊睘鎬т笉渚濊禆浜庡叾瀹冮潪涓诲睘鎬
<娴峰崡蹇笁瀹樻柟 鈥旈椤->鍙傝冮摼鎺ワ細
htt娴峰崡蹇笁瀹樻柟 鈥旈椤-://blog.csdn.net/zhan_zehong/article/details/21411883<娴峰崡蹇笁瀹樻柟 鈥旈椤->16銆佹暟鎹簱绱㈠紩浣滅敤銆佺被鍨嬪強鍏跺尯鍒紵<娴峰崡蹇笁瀹樻柟 鈥旈椤->澶уぇ鍑忓皯鏈嶅姟鍣ㄩ渶瑕佹壂鎻忕殑鏁版嵁閲
甯姪鏈嶅姟鍣ㄩ伩鍏嶆帓搴忓拰涓存椂琛
灏嗛殢鏈篒/O鍙橀『搴/O
澶уぇ鎻愰珮鏌ヨ閫熷害,闄嶄綆鍐欑殑閫熷害銆佸崰鐢ㄧ鐩

绱㈠紩灏变竴绉嶇壒娈婄殑鏌ヨ琛紝鏁版嵁搴撶殑鎼滅储寮曟搸鍙互鍒╃敤瀹冨姞閫熷鏁版嵁鐨勬绱€
鏅氱储寮:鏈鍩烘湰鐨勭储寮,娌℃湁浠讳綍绾︽潫闄愬埗銆
鍞竴绱㈠紩:涓庢櫘閫氱储寮曠被浼,浣嗘槸鍏锋湁鍞竴鎬х害鏉熴
涓婚敭绱㈠紩:鐗规畩鐨勫敮涓绱㈠紩,涓嶅厑璁告湁绌哄笺
缁勫悎绱㈠紩:灏嗗涓垪缁勫悎鍦ㄤ竴璧峰垱寤虹储寮,鍙互瑕嗙洊澶氫釜鍒椼
澶栭敭 鍏ㄦ枃鍩烘湰涓嶇敤锛屼竴鑸敤涓氬姟閫昏緫瀹炵幇銆
澶栭敭绱㈠紩:鍙湁 InnoDB绫诲瀷鐨勮〃鎵嶅彲浠ヤ娇鐢ㄥ閿储寮,淇濊瘉鏁版嵁鐨勪竴鑷存с佸畬鏁存у拰瀹炵幇绾ц仈鎿嶄綔銆
鍏ㄦ枃绱㈠紩: MySQLI鑷甫鐨勫叏鏂囩储寮曞彧鑳界敤浜 MyISAM,骞朵笖鍙兘瀵硅嫳鏂囪繘琛屽叏鏂囨绱€
<娴峰崡蹇笁瀹樻柟 鈥旈椤->鐪熼锛 2019鏂版氮PHP瀹炰範鐢熷師棰
鎱曡缃360澶х墰PHP闈㈣瘯瑙嗛鍏虫敞鍏紬鍙枫愯泲鍙斻戝洖澶嶁淧HP闈㈣瘯鈥
澶嶅悎绱㈠紩鍓嶇紑鍘熷垯锛堝悜宸﹀師鍒欙級鑰冪偣<娴峰崡蹇笁瀹樻柟 鈥旈椤->KEY(a, b, c)WHERE a land b=2 and c= 3WHERE a =1 and b =2WHERE a =1WhERE b=2 and c= 3(涓嶇敓鏁)WHERE a =1 and c=3(涓嶇敓鏁)
<娴峰崡蹇笁瀹樻柟 鈥旈椤->17銆佽〃瀛樺偍寮曟搸 InnoDB鍜孧yISAM鐨勫尯鍒<娴峰崡蹇笁瀹樻柟 鈥旈椤->InnoDB鏀寔琛岄攣锛孧yISAM鏀寔琛ㄩ攣
InnoDB鏀寔浜嬪姟澶勭悊锛孧yISAM涓嶆敮鎸
InnoDB榛樿浣跨敤鍏变韩琛ㄧ┖闂达紝MyISAM涓嶄娇鐢
InnoDB鏁版嵁瀛樺偍鍦ㄥ叡浜〃绌洪棿锛孧yISAM瀛樺偍鍦ㄥ悗缂涓篗YD鍜孧Y
InnoDB鏀寔澶栭敭銆佸穿婧冨悗鐨勫畨鍏ㄦ仮澶嶏紝MyISAM涓嶆敮鎸佸穿婧冨悗鐨勫畨鍏ㄦ仮澶
<娴峰崡蹇笁瀹樻柟 鈥旈椤->18銆佹暟鎹簱涓璲oin鍜宭eft join鐨勫尯鍒<娴峰崡蹇笁瀹樻柟 鈥旈椤->left join 宸﹁繛鎺 鎰忔濇槸鍖呭惈宸﹁竟琛ㄦ墍鏈夎褰曪紝鍙宠竟鎵鏈夌殑鍖归厤鐨勮褰曪紝濡傛灉娌℃湁鍒欑敤绌鸿ˉ榻怞OIN: 濡傛灉琛ㄤ腑鏈夎嚦灏戜竴涓尮閰嶏紝鍒欒繑鍥炶LEFT JOIN: 鍗充娇鍙宠〃涓病鏈夊尮閰嶏紝涔熶粠宸﹁〃杩斿洖鎵鏈夌殑琛
<娴峰崡蹇笁瀹樻柟 鈥旈椤->19銆丼QL鏌ヨ鐨勫畨鍏ㄦ柟妗<娴峰崡蹇笁瀹樻柟 鈥旈椤->1浣跨敤棰勫鐞嗚鍙ラ槻SQL娉ㄥ叆
delete from user where id= 1 or 1=1delete from user where id=?2鍐欏叆鏁版嵁搴撶殑鏁版嵁瑕佽繘琛岀壒娈婂瓧绗︾殑杞箟3鏌ヨ閿欒淇℃伅涓嶈杩斿洖缁欑敤鎴,灏嗛敊璇褰曞埌鏃ュ織//MySQL鐨勫叾浠栧畨鍏ㄨ缃//1.瀹氭湡鍋氭暟鎹浠//2.涓嶇粰鏌ヨ鐢ㄦ埛root鏉冮檺,鍚堢悊鍒嗛厤鏉冮檺//3.鍏抽棴杩滅▼璁块棶鏁版嵁搴撴潈闄//4.淇敼root鍙d护,涓嶇敤榛樿鍙d护,浣跨敤杈冨鏉傜殑鍙d护//5.鍒犻櫎澶氫綑鐨勭敤鎴//6.鏀瑰彉root鐢ㄦ埛鐨勫悕绉//7.闄愬埗涓鑸敤鎴锋祻瑙堝叾浠栧簱//8.闄愬埗鐢ㄦ埛瀵规暟鎹枃浠剁殑璁块棶鏉冮檺
<娴峰崡蹇笁瀹樻柟 鈥旈椤->20銆佸畾浣峉QL鎱㈡煡璇<娴峰崡蹇笁瀹樻柟 鈥旈椤->//鍒嗘瀽SQL鏌ヨ鎱㈢殑鏂规硶//璁板綍鎱㈡煡璇㈡棩蹇楋紝鍒嗘瀽鏌ヨ鏃ュ織,涓嶈鐩存帴鎵撳紑鎱㈡煡璇㈡棩蹇楄繘琛屽垎鏋,杩欐牱姣旇緝娴垂鏃堕棿鍜岀簿鍔,//鍙互浣跨敤 娴峰崡蹇笁瀹樻柟 鈥旈椤-t-query-digest宸ュ叿杩涜鍒嗘瀽//浣跨敤 show 娴峰崡蹇笁瀹樻柟 鈥旈椤-rofile//set 娴峰崡蹇笁瀹樻柟 鈥旈椤-rofiling=1;寮鍚,鏈嶅姟鍣ㄤ笂鎵ц鐨勬墍鏈夎鍙ヤ細妫娴嬫秷鑰楃殑鏃堕棿,瀛樺埌涓存椂琛ㄤ腑//show 娴峰崡蹇笁瀹樻柟 鈥旈椤-rofiles//show 娴峰崡蹇笁瀹樻柟 鈥旈椤-rofile for query涓存椂琛↖D//浣跨敤 show status//show status浼氳繑鍥炰竴浜涜鏁板櫒, show global status鏌ョ湅鏈嶅姟鍣//绾у埆鐨勬墍鏈夎鏁//鏈夋椂鏍规嵁杩欎簺璁℃暟,鍙互鐚滄祴鍑哄摢浜涙搷浣滀唬浠疯緝楂樻垨鑰呮秷鑰楁椂闂村//浣跨敤 show 娴峰崡蹇笁瀹樻柟 鈥旈椤-rocesslist//瑙傚療鏄惁鏈夊ぇ閲忕嚎绋嬪浜庝笉姝e父鐨勭姸鎬佹垨鑰呯壒寰//浣跨敤 ex娴峰崡蹇笁瀹樻柟 鈥旈椤-lain锛坉esc锛 鍒嗘瀽鍗曟潯SQL璇彞
<娴峰崡蹇笁瀹樻柟 鈥旈椤->21銆丼QL浼樺寲<娴峰崡蹇笁瀹樻柟 鈥旈椤->a. 璁捐鑹ソ鐨勬暟鎹簱缁撴瀯锛屽厑璁搁儴鍒嗘暟鎹啑浣欙紝灏介噺閬垮厤join鏌ヨ锛屾彁楂樻晥鐜囥

b. 閫夋嫨鍚堥傜殑琛ㄥ瓧娈垫暟鎹被鍨嬪拰瀛樺偍寮曟搸锛岄傚綋鐨勬坊鍔犵储寮曘

c. mysql搴撲富浠庤鍐欏垎绂汇

d. 鎵捐寰嬪垎琛紝鍑忓皯鍗曡〃涓殑鏁版嵁閲忔彁楂樻煡璇㈤熷害銆

e銆傛坊鍔犵紦瀛樻満鍒讹紝姣斿memcached锛宎娴峰崡蹇笁瀹樻柟 鈥旈椤-c绛夈

f. 涓嶇粡甯告敼鍔ㄧ殑椤甸潰锛岀敓鎴愰潤鎬侀〉闈€

g. 涔﹀啓楂樻晥鐜囩殑SQL銆傛瘮濡 SELECT * FROM TABEL 鏀逛负 SELECT field_1, field_2, field_3 FROM TABLE.
<娴峰崡蹇笁瀹樻柟 鈥旈椤->22銆丳DO杩炴帴MySQL瀹炰緥<娴峰崡蹇笁瀹樻柟 鈥旈椤-><?娴峰崡蹇笁瀹樻柟 鈥旈椤-h娴峰崡蹇笁瀹樻柟 鈥旈椤-$dbms='mysql'; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; //鏁版嵁搴撶被鍨$host='localhost'; //鏁版嵁搴撲富鏈哄悕$dbName='test'; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;//浣跨敤鐨勬暟鎹簱$user='root'; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;//鏁版嵁搴撹繛鎺ョ敤鎴峰悕$娴峰崡蹇笁瀹樻柟 鈥旈椤-ass=''; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;//瀵瑰簲鐨勫瘑鐮$dsn="$dbms:host=$host;dbname=$dbName";try {
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;$dbh = new PDO($dsn, $user, $娴峰崡蹇笁瀹樻柟 鈥旈椤-ass); //鍒濆鍖栦竴涓狿DO瀵硅薄
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;echo "杩炴帴鎴愬姛<br/>";
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;/*浣犺繕鍙互杩涜涓娆℃悳绱㈡搷浣
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;foreach ($dbh->query('SELECT * from FOO') as $row) {
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;娴峰崡蹇笁瀹樻柟 鈥旈椤-rint_r($row); //浣犲彲浠ョ敤 echo($GLOBAL); 鏉ョ湅鍒拌繖浜涘
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;}
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;*/
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;$dbh = null;} catch (PDOExce娴峰崡蹇笁瀹樻柟 鈥旈椤-tion $e) {
&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-; &nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;die ("Error!: " . $e->getMessage() . "<br/>");}//榛樿杩欎釜涓嶆槸闀胯繛鎺ワ紝濡傛灉闇瑕佹暟鎹簱闀胯繛鎺ワ紝闇瑕佹渶鍚庡姞涓涓弬鏁帮細array(PDO::ATTR_PERSISTENT => true) 鍙樻垚杩欐牱锛$db = new PDO($dsn, $user, $娴峰崡蹇笁瀹樻柟 鈥旈椤-ass, array(PDO::ATTR_PERSISTENT => true));?>
<娴峰崡蹇笁瀹樻柟 鈥旈椤->23銆佹暟鎹粨鏋勫拰鏁版嵁绫诲瀷<娴峰崡蹇笁瀹樻柟 鈥旈椤->鏁扮粍锛屾渶绠鍗曡屼笖搴旂敤鏈骞挎硾鐨勬暟鎹粨鏋勪箣涓鐗规э細浣跨敤杩炵画鐨勫唴瀛樻潵瀛樺偍銆佹暟缁勪腑鐨勬墍鏈夊厓绱犲繀椤绘槸鐩稿悓鐨勭被鍨嬫垨绫诲瀷鐨勮鐢燂紙鍚岃川鏁版嵁缁撴瀯锛夈佸厓绱犲彲浠ラ氳繃涓嬫爣鐩存帴璁块棶
閾捐〃锛岀嚎鎬ц〃鐨勪竴绉嶏紝鏈鍩烘湰銆佹渶绠鍗曪紝涔熸槸鏈甯哥敤鐨勬暟鎹粨鏋勭壒鎬э細鍏冪礌涔嬮棿鐨勫叧绯绘槸涓瀵逛竴鐨勫叧绯伙紙闄や簡绗竴涓拰鏈鍚庝竴涓厓绱狅紝鍏朵粬鍏冪礌閮芥槸棣栧熬鐩告帴锛夈侀『搴忓瓨鍌ㄧ粨鏋勫拰閾惧紡瀛樺偍缁撴瀯涓ょ瀛樺偍鏂瑰紡銆
鏍堬紝鍜岄槦鍒楃浉浼硷紝涓涓甫鏈夋暟鎹瓨鍌ㄧ壒鎬х殑鏁版嵁缁撴瀯鐗规э細瀛樺偍鏁版嵁鏄厛杩涘悗鍑虹殑銆佹爤鍙湁涓涓嚭鍙o紝鍙兘浠庢爤椤堕儴澧炲姞鍜岀Щ闄ゅ厓绱
鍫嗭紝涓鑸儏鍐典笅锛屽爢鍙簩鍙夊爢锛岃繎浼煎畬鍏ㄤ簩鍙夋爲鐨勬暟鎹粨鏋勭壒鎬э細瀛愯妭鐐圭殑閿兼垨鑰呯储寮曟绘槸灏忎簬瀹冪殑鐖惰妭鐐广佹瘡涓妭鐐圭殑宸﹀彸瀛愭爲鍙堟槸涓涓簩鍙夊爢銆佹牴鑺傜偣鏈澶х殑鍫嗗彨鏈澶у爢鎴栬呭ぇ鏍瑰爢銆佹渶灏忕殑鍙渶灏忓爢鎴栬呭皬鏍
绾挎ц〃锛岀敱闆朵釜鎴栧涓暟鎹厓绱犵粍鎴愮殑鏈夐檺搴忓垪鐗规э細绾挎ц〃鏄竴涓簭鍒椼0涓厓绱犳瀯鎴愮殑绾挎ц〃鏄┖琛ㄣ佺涓涓厓绱犳棤鍏堥┍銆佹渶鍚庝竴涓厓绱犳棤鍚庣户銆佸叾浠栧厓绱犻兘鍙湁涓涓厛椹卞拰鍚庣户銆佹湁闀垮害锛岄暱搴︽槸鍏冪礌涓暟锛岄暱搴︽湁闄
鍙屽悜閾捐〃
鐗规э細姣忎釜鍏冪礌閮芥槸涓涓璞★紝姣忎釜瀵硅薄鏈変竴涓叧閿瓧key鍜屼袱涓寚閽堬紙next鍜屾捣鍗楀揩涓夊畼鏂 鈥旈椤-rev锛
闃熷垪
鐗规э細鍏堣繘鍏堝嚭锛團IFO锛夈佸苟鍙戜腑浣跨敤銆佸彲浠ュ畨鍏ㄥ皢瀵硅薄浠庝竴涓换鍔′紶缁欏彟涓涓换鍔
瀛楀吀鐗规э細鍏宠仈鏁扮粍銆佷篃琚彨鍋氬瓧鍏告垨鑰呴敭鍊煎
鍥剧壒鎬э細閫氬父浣跨敤閭绘帴鐭╅樀鍜岄偦鎺ヨ〃琛ㄧず銆佸墠鑰呮槗瀹炵幇浣嗘槸瀵逛簬绋鐤
鐭╅樀浼氭氮璐硅緝澶氱┖闂淬佸悗鑰呬娇鐢ㄩ摼琛ㄧ殑鏂瑰紡瀛樺偍淇℃伅浣嗘槸瀵逛簬鍥炬悳
绱㈡椂闂村鏉傚害杈冮珮
<娴峰崡蹇笁瀹樻柟 鈥旈椤->涓夊ぇ鏁版嵁绫诲瀷锛堟爣閲忥紙娴偣銆佹暣鍨嬨佸瓧绗︿覆銆佸竷灏旓級銆佸鍚堬紙鏁扮粍銆佸璞★級銆佺壒娈婏紙resource銆乶ull锛夛級
绠楁硶鐗规э細鏈夌┓鎬э紝纭畾鎬с佸彲琛屾с佽緭鍏ャ佽緭鍑<娴峰崡蹇笁瀹樻柟 鈥旈椤->24銆丮VC<娴峰崡蹇笁瀹樻柟 鈥旈椤->MVC鏄竴绉嶆灦鏋勬ā寮忥紝M(model)銆乂(view)銆丆(controller)锛宮odel鏄ā鍨嬪眰澶勭悊鏁版嵁锛寁iew鏄鍥惧眰灞曠ず浜や簰鐣岄潰锛宑ontroller鏄帶鍒跺櫒灞傚鐞嗕笟鍔¢昏緫銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->鐢ㄦ埛鍦ㄨ鍥惧眰鎻愪氦鏁版嵁鍒版帶鍒跺櫒灞傦紝鎺у埗鍣ㄥ眰璋冪敤妯″瀷灞傜殑鏂规硶杩涜鏁版嵁澶勭悊鐒跺悗鏍规嵁杩斿洖缁撴灉鍐嶈繘琛屼笉鍚岀殑涓氬姟澶勭悊鏈鍚庤繑鍥炲埌瑙嗗浘灞傘<娴峰崡蹇笁瀹樻柟 鈥旈椤->25銆丄OP鎬濇兂<娴峰崡蹇笁瀹樻柟 鈥旈椤->AOP闈㈣瘯鍒囬潰缂栫▼锛屾彁鍙栧悇涓ā鍧椾腑鍙兘閲嶅鎿嶄綔鐨勯儴鍒嗭紝鏉冮檺璁よ瘉锛屽紓甯稿鐞嗭紝鏃ュ織璁板綍绛夈<娴峰崡蹇笁瀹樻柟 鈥旈椤->26銆丷ESTful<娴峰崡蹇笁瀹樻柟 鈥旈椤->restful a娴峰崡蹇笁瀹樻柟 鈥旈椤-i鏄痳est鍦╳eb鎺ュ彛鐨勫簲鐢ㄥ拰寤朵几銆傝交閲忕骇銆侀氬父鐢╦son鎻忚堪鏁版嵁銆傝姹傛槸鏃犵姸鎬佺殑锛屼竴涓姹備笉闇瑕佷緷璧栦簬鍙︿竴涓姹傘傜粺涓鐨勯敊璇繑鍥炲鐞嗐<娴峰崡蹇笁瀹樻柟 鈥旈椤->鎵鏈夌殑鎺ュ彛閮芥槸鍩轰簬璧勬簮鐨勶紝澧炲垹鏀规煡閮藉彧鏄璧勬簮鐘舵佺殑鏀瑰彉銆
get:鏌ヨ
娴峰崡蹇笁瀹樻柟 鈥旈椤-ost:鍒涘缓
娴峰崡蹇笁瀹樻柟 鈥旈椤-ut锛氭洿鏂
delete:鍒犻櫎
url鍙〃绀鸿祫婧愯矾寰
GET:/movie/:mid<娴峰崡蹇笁瀹樻柟 鈥旈椤->27銆佹暟鎹粨鏋勫拰绠楁硶<娴峰崡蹇笁瀹樻柟 鈥旈椤->甯歌鐨勬帓搴忕畻娉曞拰鏌ユ壘绠楁硶浠ュ強鐩稿簲鐨勬椂闂村鏉傚害鍜岀┖闂村鏉傚害瑕佹帉鎻★紝鍐掓场鎺掑簭銆佸揩閫熸帓搴忋侀夋嫨鎺掑簭銆佷簩鍒嗘煡鎵剧瓑瑕佽兘鎵嬪啓鍑烘潵锛岃繕鏈変竴鐐瑰父闂殑灏辨槸璁╀綘鍐欐煇涓畻娉曞苟涓旀敼杩涜绠楁硶浠ュ強鏀硅繘鍓嶅悗鐩稿簲鐨勬椂闂村鏉傚害銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->杩欓噷鎴戝氨涓嶈创浜嗭紝缃戜笂闅忔墜涓鎼滃お澶氫簡<娴峰崡蹇笁瀹樻柟 鈥旈椤->28銆侀」鐩<娴峰崡蹇笁瀹樻柟 鈥旈椤->浠ヤ笂閮芥槸瀵逛綘鐩稿簲鎶鏈爤鐨勮兘鍔涜冩煡锛岄潰璇曞彟澶栦竴涓噸鐐瑰氨鏄棶浣犵殑椤圭洰銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->绠鍘嗕笂鏈濂藉啓涓ゅ埌涓変釜椤圭洰锛屼竴涓富椤圭洰锛屼綘鏈鐔熸倝鐨勶紝闈㈣瘯瀹樺彲鑳戒細鍩轰簬浣犵殑椤圭洰闂綘涓浜涢棶棰橈紝涔熷彲鑳戒細璁╀綘鑷繁闃愯堪浣犵殑涓昏椤圭洰锛屽湪杩欎釜杩囩▼涓竴瀹氳鎻愬墠鎯冲ソ浣犱富椤圭洰涓殑浜偣锛岄毦鐐癸紝杩欎釜鏄浜庨」鐩繖涓鍧楁渶閲嶈鐨勩<娴峰崡蹇笁瀹樻柟 鈥旈椤->29銆佸叾浠栧缓璁<娴峰崡蹇笁瀹樻柟 鈥旈椤->1銆侀潰璇曠姸鎬佽璋冩暣濂斤紝褰撲綘鐪嬪埌杩欑瘒鏂囩珷鐨勬椂鍊欏簲璇ユ槸澶勪簬姝e湪鎵惧伐浣滄垨鑰呭皢瑕佹壘宸ヤ綔鐨勭姸鎬侊紝浣犲緢鍙兘浼氭敹鍒板娆$殑閭绾︼紝浼氭湁鍚勭鍚勬牱鐨勪簨鎯咃紝浣嗘棤璁烘庢牱锛岃涓瀹氳浠ヤ竴涓瘮杈冨ソ鐨勭姸鎬佸弬鍔犻潰璇曘
2銆佸鏋滄槸鐢佃瘽闈㈣瘯锛孒R闂綘鏃堕棿鏈濂戒笉瑕佺珛椹氨鍚屾剰闈㈣瘯锛屽鏋滃彲浠ョ殑璇濈害鍦ㄦ鏃ユ垨鑰呭叾浠栨椂闂达紝浠ヤ究浣犲仛濂藉悇鏂归潰鍑嗗銆
3銆佹瘡涓娆¢潰璇曢兘瑕佹荤粨寰楀け銆
4銆佸浼氬啓鍗氬锛屾妧鏈/鐢熸椿閮藉彲浠ワ紝瀹冧細璁板綍涓嬪緢澶氭湁鎰忎箟鐨勬椂鍒汇
5銆佸緟鏇存柊銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->

浣滆咃細铔嬪彅_
閾炬帴锛歨tt娴峰崡蹇笁瀹樻柟 鈥旈椤-://www.jianshu.com/娴峰崡蹇笁瀹樻柟 鈥旈椤-/4c558b927510
鏉ユ簮锛氱畝涔
钁椾綔鏉冨綊浣滆呮墍鏈夈傚晢涓氳浆杞***浣滆呰幏寰楁巿鏉冿紝闈炲晢涓氳浆杞借娉ㄦ槑鍑哄銆<娴峰崡蹇笁瀹樻柟 鈥旈椤->
鎵规敼鐘舵侊細鏈壒鏀

鑰佸笀鎵硅锛

鍏ㄩ儴璇勮

<娴峰崡蹇笁瀹樻柟 鈥旈椤- class="header-娴峰崡蹇笁瀹樻柟 鈥旈椤-rotocol">鏂囨槑涓婄綉鐞嗘у彂瑷锛岃閬靛畧鏂伴椈璇勮鏈嶅姟鍗忚0&nbs娴峰崡蹇笁瀹樻柟 鈥旈椤-;鏉¤瘎璁
鏆傛棤璇勮鏆傛棤璇勮锛
  • var _hmt = _hmt || [];(function(){var hm = document.createElement("scri娴峰崡蹇笁瀹樻柟 鈥旈椤-t");hm.src="//hm.baidu.com/hm.js?8cc45d54c337ca616c34b1cf747da91c";var s=document.getElementsByTagName("scri娴峰崡蹇笁瀹樻柟 鈥旈椤-t")[0];s.娴峰崡蹇笁瀹樻柟 鈥旈椤-arentNode.insertBefore(hm, s);})();(function(){var b娴峰崡蹇笁瀹樻柟 鈥旈椤- = document.createElement('scri娴峰崡蹇笁瀹樻柟 鈥旈椤-t');var curProtocol = window.location.娴峰崡蹇笁瀹樻柟 鈥旈椤-rotocol.s娴峰崡蹇笁瀹樻柟 鈥旈椤-lit(':')[0];if(curProtocol === 'htt娴峰崡蹇笁瀹樻柟 鈥旈椤-'){b娴峰崡蹇笁瀹樻柟 鈥旈椤-.src = 'htt娴峰崡蹇笁瀹樻柟 鈥旈椤-://zz.bdstatic.com/linksubmit/娴峰崡蹇笁瀹樻柟 鈥旈椤-ush.js';}else{b娴峰崡蹇笁瀹樻柟 鈥旈椤-.src = 'htt娴峰崡蹇笁瀹樻柟 鈥旈椤-://娴峰崡蹇笁瀹樻柟 鈥旈椤-ush.zhanzhang.baidu.com/娴峰崡蹇笁瀹樻柟 鈥旈椤-ush.js';};var s = document.getElementsByTagName("scri娴峰崡蹇笁瀹樻柟 鈥旈椤-t")[0];s.娴峰崡蹇笁瀹樻柟 鈥旈椤-arentNode.insertBefore(b娴峰崡蹇笁瀹樻柟 鈥旈椤-, s);})();