• 搴愬北php鍩硅瀛︽牎

    require_once ./Iterator/Iterator.php;銆傚啓濂界储寮曟枃浠跺悗闇€瑕佹垚绔嬬储寮曪紝鑰屽悗鍐嶆垚绔嬪巻绋嬩究鍙互鍒╃敤php鐨刟pi浜嗐€傚湪鐢╬hp寮€鍙憌eb鍒╃敤绋嬪簭鏃讹紝鍙互閲囧彇鑹绉嶆硶瀛愶紝涔熸湁姣旇緝澶氱殑寮€婧?/p>

    鏌ョ湅璇︽儏 姹熻タ

  • 閾滃窛php寮€鍙戝伐绋嬪笀

    鍦‵reeBsd涓婃惌寤簄ginx + php鐜锛屽浐鐒堕毦搴︿笉灏忥紝浣嗘槸鍥犱负鍒╃敤姹楅潚鐨勯棶棰橈紝缃戠粶闂簬杩欐柟闈㈢殑缁忓巻鏂囩珷杩樻槸姣旇緝澶氱殑锛岃窡鐫€Ubuntu鐨勯€愭鎺ㄨ锛岀爺璁ㄤ笅濡傚畨鍦╱buntu涓嬫惌寤簄ginx + php鐜

    鏌ョ湅璇︽儏 闄曡タ

  • 浣欏php鍩硅鏈烘瀯

    Jui 鎻掍欢鏇剧粡琚寘鎷湪 PHP 绫讳腑浜嗐€備綑濮歱hp鍩硅鏈烘瀯鍝簺姣旇緝濂藉洖瑕嗭細PHP涓埄鐢―efine () 鏉ョ晫璇村父閲忋€侾HP Debugger DBG 鈥?uses Linux as well as in Windows platform. Its

    鏌ョ湅璇︽儏 娴欐睙

  • 浜曞唸灞眕hp寮€鍙戝伐绋嬪笀

    鑰屽悗鏂板缓涓€涓猤etNewsJSON.php鏂囦欢鐢ㄤ簬鍋滄灏嗘煡璇㈡垚鏋滆浆鎹㈡垚JSON瀛楃涓叉牸灞€銆備簳鍐堝北php寮€鍙戝伐绋嬪笀鎴戜滑鍐嶆垚绔嬩竴涓枃浠讹紝鍚嶅瓧涓簍estargs.php锛屽墽鏈唬鐮佷互涓嬶細銆侾HP 0.0 RC 2 鍖呯綏 28

    鏌ョ湅璇︽儏 姹熻タ

  • 鏍栭湠php寮€鍙戝伐绋嬪笀

    灞曞紑杩欓」宸ヤ綔鎮ㄩ渶瑕佸叿澶囦互涓嬩笁鐐癸細PHP 鍓栨瀽鍣?CGI 鎴栧姙浜嬪櫒妯″潡)銆乄EB 鍔炰簨鍣ㄥ拰 WEB 闃呰鍣ㄣ€傛垜浠鏌HP鐜鍙橀噺 鍓嶅線鐨勬槸鎴愭灉鏄師鍥剧墖銆傚熀浜庡緢鏄琛岀殑娴嬭瘯椹卞姩寮€鍙戞柟寮忥紝濡倄

    鏌ョ湅璇︽儏 灞变笢

  • 鏍煎皵鏈≒HP鍩硅

    鍔炰簨鍣ㄧ殑鎼缓杩欓噷灏变笉鐑︾悙浜嗭紝鍚姩瀹冧篃娌″暐濂借鐨勶紝姝ゅ埢娴嬭瘯鍒╃敤html涓婁紶鏂囦欢锛屽苟鐢╬hp鎺ョ鐨勪唬鐮併€傝壇澶氶棴浜嶱HP鐨勭綉绔欓兘涓嶇鍛堢幇杩欑被闂銆傛牸灏旀湪PHP鍩硅PageSpinner is an easy-

    鏌ョ湅璇︽儏 闈掓捣

  • 鍥涗細PHP鍩硅

    杩欏嚒鏄寘缃楀寘瑁逛竴浜涚幇鎴愮殑C鍑芥暟搴擄紝浠ヤ究鎸戜緵PHP鎺ュ彛銆俋AMPP鍖呯綏Apache銆丮ySQL銆丳HP銆丳ERL锛岀洿鎺ヨВ绱х缉锛屾病鏈夊簽鏉傜殑瑁呯疆杩涚▼锛屾縺鐑堟帹鑽愬垵瀛﹁€呭埄鐢ㄣ€?0 PHP_ME(Car, getCurrentSpeed,

    鏌ョ湅璇︽儏 骞夸笢

  • 瀹滃煄php寮€鍙戝伐绋嬪笀

    鍒╃敤姝ら€夐」鍙互浣?PHP 鐨?CGI 鍙饱琛岀▼搴忓钩瀹夊湴鏀剧疆鍦?web 鐪煎綍鏍戜箣澶栫殑澶勬墍锛岃€屼笖浠栦汉涔熶笉鍏嬬粫杩?.htaccess 鐨勫钩瀹夎缃€傚疁鍩巔hp寮€鍙戝伐绋嬪笀鍏充簬鏂囦欢Displayconf.php锛屽緢鏈夊彲鑳?/p>

    鏌ョ湅璇︽儏 婀栧寳

  • 姹熷北php鍩硅瀛︽牎

    Php璇█鍏ラ棬姣旇緝蹇紝瀛︿範璧锋潵涔熸瘮杈冭交鏄擄紝鍦ㄥ缃枃浠躲€佹暟鎹€侀暱閫旀瘲杩炪€佺綉缁滅紪绋嬬瓑鏂归潰閮芥瘮杈冧究褰擄紝瀹樻柟涔熸湁濡傝鐨勮娉曪細PHP瀛︿範鐨勬湰閽卞緢浣庯紝浠ユ槸浣犺交鏄撳幓鍒╃敤瀹冦€侾HP绋嬪簭鍛樺繀闇€瑕佸

    鏌ョ湅璇︽儏 娴欐睙

  • 鏂板瘑php鍩硅鏈烘瀯

    閭f湯杩欎釜 getData.php 渚挎槸涓嬮潰閭d釜浠庡姩闈欒鍒楄幏寰楁暟鎹殑鍓ф湰銆侽K锛屼綘鐨勮缃澶囨憜璁惧埌姝ゆ浘缁忕浜嬩簡锛屼笂闈㈣鎴戜滑鍐欎竴涓猵hp(鍋氫负姝ゅ埢鐨勬敮娴佸紑鍙戣瑷€)绋嬪簭锛屽疄楠屼竴涓嬭缃澶囨憜璁捐兘

    鏌ョ湅璇︽儏 娌冲崡

  • 閮芥睙鍫癙HP鍩硅

    Syntax Coloring for PHP, Smarty, HTML, JavaScript, CSS, XML and XSLT銆傞兘姹熷牥PHP鍩硅璐圭敤浠讳綍缂栫▼璇█锛屽瓨鍦ㄤ簡璺ㄨ秺鍑犲崄骞存椂闂撮兘瀛樺湪鏌愮鎯呭娍鐨勯仐鐣欎唬鐮侀棶棰橈紝 PHP 涔熶笉鐮翠緥

    鏌ョ湅璇︽儏 鍥涘窛

  • 骞挎眽php鍩硅瀛︽牎

    鍑犱釜涓昏鐨刾hp.ini閫夐」锛歳egister_globals銆併€乵agic_quotes銆乻afe_mode銆傚箍姹塸hp鍩硅瀛︽牎浠ユ槸锛孭HP鑻ユ槸鎵句笉鍒扮殑璇濓紝浠呬粎浼氭寫绀鸿锛屾壘涓嶅埌濂癸紝娌℃硶甯︿笂濂广€傚箍姹塸hp鎶€鏈煿璁鏍ink is

    鏌ョ湅璇︽儏 鍥涘窛

  • 楹诲煄php鍩硅鏈烘瀯

    鑷虫锛屼竴涓畬鍏ㄧ殑php娑堟伅鍔炵悊绯荤粺灏辨牴鍩哄疄鐜颁簡锛屼粖澶╁啀鏀硅壇涓€涓嬨€傝繖閲屾湁涓€涓富瑕佺殑鍊煎緱娉ㄩ噸鐨勪竴鐐癸紞褰撶粨鏋勪腑鐨勪竴涓?quot;if" 璇彞琚彂鏄庢槸鐪熷€兼椂锛孭HP灏嗗饱琛屽搷搴旂殑浠g爜锛岀枏蹇藉墿涓嬬殑缁撴瀯涓?/p>

    鏌ョ湅璇︽儏 婀栧寳

  • 缁ュ寲php寮€鍙戝伐绋嬪笀

    鍙︽湁涓€鍚?濂虫敾鍩庣嫯锛屾潵缁冧範鑷 PHP銆傜互鍖杙hp瀛﹀畬鍚庡ソ娆犲ソ鎵惧伐浣減hp鑷繁鎾戞寔session鐨勫绾ф暎鍒椼€傜互鍖杙hp鍩硅鏈烘瀯绗洓姝?鍚姩FastCGI鍔炰簨鍣? 濡傦細fpm) service php-fpm start(鑻?/p>

    鏌ョ湅璇︽儏 榛戦緳姹?/span>

  • 寤哄痉php鍩硅瀛︽牎

    鍦≒HP涓缓绔嬩竴涓嚱鏁版椂锛屽繀闇€鏄庣櫧鐢╣loabl鐢虫槑瑕佺敤鐨勫叏灞€鍙橀噺銆備竴浜涢€氱敤鐨勮瑷€鎺ュ彛鎾戞寔 Perl锛孭ython锛?Tcl锛?鍜?PHP銆傚湪鎼滈泦浜嗚繖浜沺hp(鍋氫负姝ゅ埢鐨勬敮娴佸紑鍙戣瑷€)info淇℃伅涔嬪悗锛屾垜鐢ㄦ潵

    鏌ョ湅璇︽儏 娴欐睙

  • 瀹佸畨PHP鍩硅

    鏈夎壇澶氱敤浜庝笌 PHP 涓€璺埄鐢?Ajax 鐨?PHP 绫诲簱锛孹ajax 渚挎槸姝や腑涓€涓紝瀹冩槸缁芥斁婧愪唬鐮佺殑銆侀潰鍚戝璞$殑 PHP 绫诲簱銆傞櫎浜哖HP锛屽紑鍙戣€呮渶缁忓父浣跨敤鐨勭▼搴忚瑷€鏄疛avaScript锛屽崰鍒颁簡82%銆傚湪鍔?/p>

    鏌ョ湅璇︽儏 榛戦緳姹?/span>

  • 瑗胯棌php鍩硅瀛︽牎

    鍥犱负php鎾戞寔ODBC缁芥斁鏁版嵁搴撴瘲杩炴爣鍑嗐€侊紝鏄互php鍙互姣楄繛浠讳綍鍏朵綑鎾戞寔璇ユ爣鍑嗙殑鏁版嵁搴撱€傝タ钘弍hp鍩硅鍝釜濂絇HP 0.0 RC 1 鍖呯綏 27 宸查檲杩扮殑 bug 淇锛岀粺鍏?200 涓?commits锛屽寘缃楁暟鎹?/p>

    鏌ョ湅璇︽儏 瑗胯棌

  • 涓存捣php寮€鍙戝伐绋嬪笀

    瀵艰嚧PHP浜烘潗渚涙眰鎸佷箙澶勫湪1:10鐨勬帀琛$姸鍐碉紝甯傚満楗卞拰搴﹁緝浣庛€侾HP鏃ユ湡鍑芥暟mktime棣栬鐢ㄦ潵灏嗘棩鏈熷拰鏃堕棿杞崲鎴怳nix鏃堕棿鎴虫牸灞€銆備复娴穚hp鍩硅澶氬皯閽眕hpdbg鏄痯hp鐨勪竴涓猻api锛屽畠鍙互浠ュ彿

    鏌ョ湅璇︽儏 娴欐睙

  • 涓滃叴php鍩硅瀛︽牎

    ProxyPass鏄繖閲岀殑闂敭锛屾垜鍐欎簡浜旀潯锛屽墠鍥涙潯鏄负浜嗚В闄よ繖浜涚溂褰曪紝浠ヤ究璁〢pache澶勭疆锛堟晥鍔涙瘮Tomcat楂橈紝鍒殑鍙︽湁php绋嬪簭锛夛紝鏈€鍚庢潯渚挎槸璁╃溂褰曚笅浠ユ槸鏂囦欢閮借浆鍚?080绔彛鐨凾omcat澶勭疆锛屽叾瀹為瑕?/p>

    鏌ョ湅璇︽儏 骞胯タ

  • 钁姦宀沺hp寮€鍙戝伐绋嬪笀

    vim /usr/local/etc/php/1/php-fpm.conf銆傝懌鑺﹀矝php寮€鍙戝伐绋嬪笀娉ㄩ噸urlencode鐨勬垚鏋滀笌php鐨剈rlencode鍑芥暟鎴愭灉涓嶅お涓嶅紓锛宲hp鐨剈rlencode浼氭妸绌烘牸鏇夸唬鎴?锛岃€岃繖閲岄渶瑕佹浛浠f垚%20銆俿

    鏌ョ湅璇︽儏 杈藉畞