PHP 鑳藉仛浠讳綍浜嬨侾HP 涓昏鏄敤浜庢湇鍔$鐨勮剼鏈▼搴忥紝鍥犳鍙互鐢 PHP 鏉ュ畬鎴愪换浣曞叾瀹冪殑 CGI 绋嬪簭鑳藉瀹屾垚鐨勫伐浣滐紝渚嬪鏀堕泦琛ㄥ崟鏁版嵁锛岀敓鎴愬姩鎬佺綉椤碉紝鎴栬呭彂閫侊紡鎺ユ敹 Cookies銆備絾 PHP 鐨勫姛鑳借繙涓嶅眬闄愪簬姝ゃ
鏂囩珷姝f枃
PHP 鑳藉仛浠讳綍浜嬨侾HP 涓昏鏄敤浜庢湇鍔$鐨勮剼鏈▼搴忥紝鍥犳鍙互鐢 PHP 鏉ュ畬鎴愪换浣曞叾瀹冪殑 CGI 绋嬪簭鑳藉瀹屾垚鐨勫伐浣滐紝渚嬪鏀堕泦琛ㄥ崟鏁版嵁锛岀敓鎴愬姩鎬佺綉椤碉紝鎴栬呭彂閫侊紡鎺ユ敹 Cookies銆備絾 PHP 鐨勫姛鑳借繙涓嶅眬闄愪簬姝ゃ
PHP 鑴氭湰涓昏鐢ㄤ簬浠ヤ笅涓変釜棰嗗煙锛
鏈嶅姟绔剼鏈傝繖鏄 PHP 鏈浼犵粺锛屼篃鏄渶涓昏鐨勭洰鏍囬鍩熴傚紑灞曡繖椤瑰伐浣滈渶瑕佸叿澶囦互涓嬩笁鐐癸細PHP 瑙f瀽鍣紙CGI 鎴栬呮湇鍔″櫒妯″潡锛夈亀eb 鏈嶅姟鍣ㄥ拰 web 娴忚鍣ㄣ傞渶瑕佸湪杩愯 web 鏈嶅姟鍣ㄦ椂锛屽畨瑁呭苟閰嶇疆 PHP锛岀劧鍚庯紝鍙互鐢 web 娴忚鍣ㄦ潵璁块棶 PHP 绋嬪簭鐨勮緭鍑猴紝鍗虫祻瑙堟湇鍔$鐨 PHP 椤甸潰銆傚鏋滃彧鏄疄楠 PHP 缂栫▼锛屾墍鏈夌殑杩欎簺閮藉彲浠ヨ繍琛屽湪鑷繁瀹堕噷鐨勭數鑴戜腑銆傝鏌ラ槄瀹夎涓绔犱互鑾峰彇鏇村淇℃伅銆
鍛戒护琛岃剼鏈傚彲浠ョ紪鍐欎竴娈 PHP 鑴氭湰锛屽苟涓斾笉闇瑕佷换浣曟湇鍔″櫒鎴栬呮祻瑙堝櫒鏉ヨ繍琛屽畠銆傞氳繃杩欑鏂瑰紡锛屼粎浠呭彧闇瑕 PHP 瑙f瀽鍣ㄦ潵鎵ц銆傝繖绉嶇敤娉曞浜庝緷璧 cron锛圲nix 鎴栬 Linux 鐜锛夋垨鑰 Task Scheduler锛圵indows 鐜锛夌殑鏃ュ父杩愯鐨勮剼鏈潵璇存槸鐞嗘兂鐨勯夋嫨銆傝繖浜涜剼鏈篃鍙互鐢ㄦ潵澶勭悊绠鍗曠殑鏂囨湰銆傝鍙傞槄 PHP 鐨勫懡浠よ妯″紡浠ヨ幏鍙栨洿澶氫俊鎭
缂栧啓妗岄潰搴旂敤绋嬪簭銆傚浜庢湁鐫鍥惧舰鐣岄潰鐨勬闈㈠簲鐢ㄧ▼搴忔潵璇达紝PHP 鎴栬涓嶆槸涓绉嶆渶濂界殑璇█锛屼絾鏄鏋滅敤鎴烽潪甯哥簿閫 PHP锛屽苟涓斿笇鏈涘湪瀹㈡埛绔簲鐢ㄧ▼搴忎腑浣跨敤 PHP 鐨勪竴浜涢珮绾х壒鎬э紝鍙互鍒╃敤 PHP-GTK 鏉ョ紪鍐欒繖浜涚▼搴忋傜敤杩欑鏂规硶锛岃繕鍙互缂栧啓璺ㄥ钩鍙扮殑搴旂敤绋嬪簭銆侾HP-GTK 鏄 PHP 鐨勪竴涓墿灞曪紝鍦ㄩ氬父鍙戝竷鐨 PHP 鍖呬腑骞朵笉鍖呭惈瀹冦傚鏋滃 PHP-GTK 鎰熷叴瓒o紝璇疯闂叾? 缃戠珯浠ヨ幏鍙栨洿澶氫俊鎭
PHP 鑳藉鐢ㄥ湪鎵鏈夌殑涓绘祦鎿嶄綔绯荤粺涓婏紝鍖呮嫭 Linux銆乁nix 鐨勫悇绉嶅彉绉嶏紙鍖呮嫭 HP-UX銆丼olaris 鍜 OpenBSD锛夈丮icrosoft Windows銆丮ac OS X銆丷ISC OS 绛夈備粖澶╋紝PHP宸茬粡鏀寔浜嗗ぇ澶氭暟鐨 web 鏈嶅姟鍣紝鍖呮嫭 Apache銆丮icrosoft Internet Information Server锛圛IS锛夈丳ersonal web Server锛圥WS锛夈丯etscape 浠ュ強 iPlant server銆丱reilly Website Pro Server銆丆audium銆乆itami銆丱mniHTTPd 绛夈傚浜庡ぇ澶氭暟鐨勬湇鍔″櫒锛孭HP 鎻愪緵浜嗕竴涓ā鍧楋紱杩樻湁涓浜 PHP 鏀寔 CGI 鏍囧噯锛屼娇寰 PHP 鑳藉浣滀负 CGI 澶勭悊鍣ㄦ潵宸ヤ綔銆
缁间笂鎵杩帮紝浣跨敤 PHP锛屽彲浠ヨ嚜鐢卞湴閫夋嫨鎿嶄綔绯荤粺鍜 web 鏈嶅姟鍣ㄣ傚悓鏃讹紝杩樺彲浠ュ湪寮鍙戞椂閫夋嫨浣跨敤闈㈠杩囩▼鍜岄潰瀵瑰璞★紝鎴栬呬袱鑰呮贩鍜岀殑鏂瑰紡鏉ュ紑鍙戙傚敖绠 PHP 4 涓嶆敮鎸 OOP 鎵鏈夌殑鏍囧噯锛屼絾寰堝浠g爜浠撳簱鍜屽ぇ鍨嬬殑搴旂敤绋嬪簭锛堝寘鎷 PEAR 搴擄級浠呬娇鐢 OOP 浠g爜鏉ュ紑鍙戙侾HP 5 寮ヨˉ浜 PHP 4 鐨勮繖涓寮辩偣锛屽紩鍏ヤ簡瀹屽叏鐨勫璞℃ā鍨嬨
浣跨敤 PHP锛屽苟涓嶅眬闄愪簬杈撳嚭 HTML銆侾HP 杩樿兘琚敤鏉ュ姩鎬佽緭鍑哄浘鍍忋丳DF 鏂囦欢鐢氳嚦 Flash 鍔ㄧ敾锛堜娇鐢 libswf 鍜 Ming锛夈傝繕鑳藉闈炲父绠渚跨殑杈撳嚭鏂囨湰锛屼緥濡 XHTML 浠ュ強浠讳綍鍏跺畠褰㈠紡鐨 XML 鏂囦欢銆侾HP 鑳藉鑷姩鐢熸垚杩欎簺鏂囦欢锛屽湪鏈嶅姟绔紑杈熷嚭涓鍧楀姩鎬佸唴瀹圭殑缂撳瓨锛屽彲浠ョ洿鎺ユ妸瀹冧滑鎵撳嵃鍑烘潵锛屾垨鑰呭皢瀹冧滑瀛樺偍鍒版枃浠剁郴缁熶腑銆
PHP 鏈寮哄ぇ鏈鏄捐憲鐨勭壒鎬т箣涓锛屾槸瀹冩敮鎸佸緢澶ц寖鍥寸殑鏁版嵁搴撱傜敤鎴蜂細鍙戠幇鍒╃敤 PHP 缂栧啓鏁版嵁搴撴敮鎸佺殑缃戦〉绠鍗曞緱闅句互缃俊銆傜洰鍓嶏紝PHP 鏀寔濡備笅鏁版嵁搴擄細
Adabas D
dBase
Empress
FilePro锛堝彧璇伙級
Hyperwave
IBM DB2
Informix
Ingres
InterBase
FrontBase
mSQL
Direct MS-SQL
MySQL
ODBC
Oracle锛圤CI7 鍜 OCI8锛
Ovrimos
PostgreSQL
SQLite
Solid
Sybase
Velocis
Unix dbm
鍚屾椂杩樻湁涓涓彨鍋 PDO 鐨勬暟鎹簱鎶借薄鎵╁睍搴撲娇寰楀彲浠ヨ嚜鐢卞湴浣跨敤璇ユ墿灞曞簱鏀寔鐨勪换浣曟暟鎹簱銆傚彟澶栵紝PHP 杩樻敮鎸 ODBC锛屽嵆 Open Database Connection Standard锛堝紑鏀炬暟鎹簱杩炴帴鏍囧噯锛夛紝鍥犳鍙互杩炴帴浠讳綍鍏跺畠鏀寔璇ヤ笘鐣屾爣鍑嗙殑鏁版嵁搴撱
PHP 杩樻敮鎸佸埄鐢ㄨ濡 LDAP銆両MAP銆丼NMP銆丯NTP銆丳OP3銆丠TTP銆丆OM锛圵indows 鐜锛夌瓑涓嶈鍏舵暟鐨勫崗璁殑鏈嶅姟銆傝繕鍙互寮鏀惧師濮嬬綉缁滅鍙o紝浣垮緱浠讳綍鍏跺畠鐨勫崗璁兘澶熷崗鍚屽伐浣溿侾HP 鏀寔鍜屾墍鏈 web 寮鍙戣瑷涔嬮棿鐨 WDDX 澶嶆潅鏁版嵁浜ゆ崲銆傚叧浜庣浉浜掕繛鎺ワ紝PHP 宸茬粡鏀寔浜嗗 Java 瀵硅薄鐨勫嵆鏃惰繛鎺ワ紝骞朵笖鍙互灏嗕粬浠嚜鐢辩殑鐢ㄤ綔 PHP 瀵硅薄銆傜敋鑷冲彲浠ョ敤鎴戜滑鐨 CORBA 鎵╁睍搴撴潵璁块棶杩滅▼瀵硅薄銆
PHP 鍏锋湁鏋佸叾鏈夋晥鐨勬枃鏈鐞嗙壒鎬э紝鏀寔浠 POSIX 鎵╁睍鎴栬 Perl 姝e垯琛ㄨ揪寮忓埌 XML 鏂囨。瑙f瀽銆備负浜嗚В鏋愬拰璁块棶 XML 鏂囨。锛孭HP 4 鏀寔 SAX 鍜 DOM 鏍囧噯锛屼篃鍙互浣跨敤 XSLT 鎵╁睍搴撴潵杞崲 XML 鏂囨。銆侾HP 5 鍩轰簬寮哄仴鐨 libxm2 鏍囧噯鍖栦簡鎵鏈夌殑 XML 鎵╁睍锛屽苟娣诲姞浜 SimpleXML 鍜 XMLReader 鏀寔锛屾墿灞曚簡鍏跺湪 XML 鏂归潰鐨勫姛鑳姐
鍙﹀锛岃繕鏈夊緢澶氬叾瀹冩湁瓒g殑鎵╁睍搴撱備緥濡 mnoGoSearch 鎼滅储寮曟搸鍑芥暟銆両RC 缃戝叧鍑芥暟銆佸绉嶅帇缂╁伐鍏凤紙gzip銆乥z2銆亃ip锛夈佹棩鍘嗚浆鎹€佺炕璇戔︹
鐢变簬鍦ㄨ繖閲屾棤娉曞垪鍑 PHP 鎵鏈夌殑鐗规у拰鍙彁渚涚殑渚垮埄锛岃鍙傞槄瀹夎浠ュ強鍑芥暟鍙傝冩湁鍏崇珷鑺備互鑾峰彇鍏充簬杩欓噷鎻愬埌鐨勬墿灞曞簱鏇村鐨勪俊鎭
浠ヤ笂灏辨槸PHP鑳藉仛浠涔堢殑璇︾粏鍐呭锛屾洿澶氫俊鎭鍏虫敞OD浜戝叾瀹冪浉鍏虫枃绔狅紒