Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

PHP£ºÂ·Ôںη½£¿

PHP4:Ææ¼£±³ºó
1995Äêʱ£¬RasmusÔÚÓÃPHPдËûµÄ¸öÈËÖ÷Ò³£»½ñÌ죬PHP³ÉΪ·çÃÒÈ«ÇòµÄ½Å±¾ÓïÑÔ£¬Ô½À´Ô½¶àµÄÕ¾µãÑ¡ÔñʹÓÃPHP£¬Á¬Yahoo¶¼·ÅÆúÁË×Ô¼ºµÄ½Å±¾¶ø¸ÄÓÃPHPÖ§³ÖËüµÄÍøÕ¾¡£¿ÉÒÔ˵£¬PHPÊÇÒ»¸öÆæ¼£¡£ÎÒÒ»Ö±ÈÏΪ£¬ÈκÎÆæ¼£±³ºó¶¼ÓÐËüµÄÔ­Òò¡£ÏÖÔÚ£¬¾ÍÈÃÎÒÃÇ͸¹ýÕâ¸öÆæ¼££¬À´¿´¿´PHPµÄ³É¹¦Ö®µÀ¡£
1 ¼òµ¥Ò×ÓÃ
PHPµÄÈëÃÅÃż÷ºÜµÍ£¬Ëü¶ÔʹÓÃÕßµÄÒªÇó΢ºõÆä΢¡£Ñ§¹ýCÓïÑÔµÄÈË£¬Ê¹ÓÃPHP¼¸ºõ²»ÐèҪʲôʱ¼ä¡£ËüÃǵÄÓï·¨ÊÇÈç´ËÏàËÆ£¬ÒÔÖÁÓÚÎÒ³£³£Ï룬ÊDz»ÊÇÔÚCÓïÑÔ±äÁ¿Ç°¼Ó¸ö$¾ÍÄܸijÉPHP¡£ÕâʹµÃ´óÁ¿C³ÌÐòÔ±ÔÚÍøÂç½Å±¾ÖÐÑ¡ÔñÁËPHP¡£ÁíÍ⣬±ÈÆðASPµÄ×é¼þϵͳºÍJavaÅÓ´óµÄÀà¿âÀ´£¬PHPµÄº¯Êý¿âÒªºÃѧ¶àÁË¡£ÔÚ±à³Ì·ç¸ñÉÏ£¬PHP¸üÊÇ×ÔÓÉ£¬Äã¿ÉÒÔʹÓÃNÖÖ·ç¸ñÀ´Ð´ÄãµÄ½Å±¾³ÌÐò¡£ÕâЩÌØÐÔʹµÃPHP³ÉΪ³õѧÕßµÄÊ×Ñ¡ÓïÑÔ¡£ÇÀÕ¼³õѧÕßÊг¡ÊǺÜÖØÒªµÄ²ßÂÔ¡£ÈçͬÈκÎÈ˶¼»á¶Ô×Ô¼ºµÄ³õÁµ¼ÇÒäÓÌÐÂÒ»Ñù£¬ÈËÃÇÍùÍù»á¶Ô×î³õѧϰµÄÓïÑÔÓкÜÉîµÄ¸ÐÇé¡£¼´Ê¹ºóÀ´×Ô¼º³É³¤ÁË£¬¸ÄÓÃÆäËûÓïÑÔÁË£¬»¹ÊÇ»áʱʱ¼ÇÆð×î³õѧϰµÄÓïÑÔ¡£ÔÚÕâµãÉÏ£¬PHP×öµÃºÜ³öÉ«¡£
2 ¼ô²ÃµÃµ±
PHP¿ª·¢×éÊÇ×îÁ˽âÍøÂçµÄһȺÈË£¬ËûÃǷdz£Çå³þÓû§ÒªµÄÊÇʲô¡£PHP¾ÍÊÇÒª×öÒ»¸ö³öÉ«µÄÍøÂç½Å±¾ÓïÑÔ£¬¶øÇÒ£¬ËüÖ»ÊÇÒª×öÒ»¸öÍøÂç½Å±¾ÓïÑÔ¡£PHPÌṩµÄº¯Êý¼¯ÔÚÍøÂç·½ÃæÏ൱ǿ´ó£¬¶øÇÒÖصã¾ùרעÓÚÍøÂçÓ¦Óá£ÏñPHPÖеÄÎÞ×é¼þÎļþÉÏ´«£¬³¬¶àÊý¾Ý¿âÖ§³ÖµÈÌØÐÔ¶¼±íÏÖ³öÕâ¸öÌص㡣˳±ã˵һ¾ä£¬PHPÉõÖÁÖ§³ÖACCESSÊý¾Ý¿â¡£×¨×¢Ê¹µÃPHPÔÚÍøÂçÉϱíÏÖ³ö¼«ÆäÓÅÐãµÄÐÔÄÜ¡£ÓÐʧ²ÅÄÜÓеá£
3 Ö§³ÖÇ¿´ó
PHPÓÐÇ¿´óµÄOpenSourceÍÅÌåÖ§³Ö£¬ÔÚÍøÂçÉÏÓÐÊýÒÔÍò¼ÆµÄ¿ªÔ´´úÂë¡£Äã¿ÉÒÔÕûºÏ¼¸¸öÏÖÓгÌʽÀ´ÊµÏÖÄãµÄÓ¦Óã¬Ò²¿ÉÒÔ·ÖÎö´óʦ¼¶µÄ´úÂëÀ´µÃµ½Ìá¸ß¡£PHP»¹ÓкܶàÀ©Õ¹ÐÔµÄÏîÄ¿À´ÔöÇ¿PHPÔÚij¸ö·½ÃæµÄ¹¦ÄÜ¡£Ïñ×¢Öرà³Ì¹æ·¶»¯ºÍ´úÂëÖØÓõÄPEAR£¬Ìṩ¿É±àÒëÄ£°å¼¼ÊõµÄSmarty£¬ÉõÖÁ¿ª·¢×ÀÃæ³ÌÐòµÄGTK¡£
·ÖÎöÍêÕ⼸¸öÀíÓÉ£¬ÎÒÃÇ¿ÉÒÔ¿´³ö£¬PHPµÄ³É¹¦µÃÒæÓÚPHP¿ª·¢×éµÄÕ½ÂÔÑ۹⡣PHPÌṩÁËÒ»¸ö×îС¹¤×÷¼¯£¬Ê¹Óû§ÄÜÓÃ×î¼òµ¥µÄ·½Ê½¸ßЧµØÍê³É×Ô¼ºÐèÒªµÄÓ¦Óá£ÕâÕýÊdzõѧÕßÐèÒªµÄ¡£È»ºóËüͨ¹ý·½±ãµÄÀ©Õ¹À´Ìṩ¸÷¸ö·½ÃæµÄ½â¾ö·½°¸£¬ÕâÑù£¬ÄãÖ»ÐèҪѧÄãÒªÓõ½µÄÄǸöÁìÓòµÄ¶«Î÷¡£µ±ÄãÉæ¼°µÄÁìÓòÔ½À´Ô½¶àʱ£¬ÄãµÄˮƽҲËæÖ®Ìá¸ß£¬µ±ÄãÊìϤÁË´ó¶àÁìÓòʱ£¬»ØÍ·¿´¿´£¬»á·¢ÏÖ²»Öª²»¾õÒѵ½É½Ñü¡£PHPÒ²ÌṩÁËÎÒÃÇÒ»ÖÖѧϰ̬¶È¡£
ASP.net£«J2EE:·çÓêÓûÀ´
ÍøÂç½Å±¾½çµÄ¸ïÐÂÀ˳±ÓÉMicrosoftµÄASP.netÊ×ÏÈ·¢Æð¡£ÔÚASP.netÖУ¬ÓÐÒ»¸öºÜÎüÒýÈ˵Ķ«Î÷——


Ïà¹ØÎĵµ£º

ת phpµÄÃæÊÔÌâ

תÔصÄPHPÃæÊÔÌâ
1. »ù±¾ÖªÊ¶µã
HTTPЭÒéÖм¸¸ö״̬ÂëµÄº¬Òå:503 500 401 200 301 302¡£¡£¡£
Include require include_once require_once µÄÇø±ð.
PHP/MysqlÖм¸¸ö°æ±¾µÄ½ø»¯Ê·£¬±ÈÈçmysql4.0µ½4.1£¬PHP 4.xµ½5.1µÄÖØ´ó¸Ä½øµÈµÈ¡£
HEREDOC½éÉÜ
д³öһЩphpħ»Ã·½·¨;
һЩ±àÒëphpʱµÄconfigure ²ÎÊý
Ïòphp´«Èë ......

PHP¶à½ø³ÌЭ×÷±à³ÌÖ® socket

»ù±¾Ë¼Â·£ºÍ¨¹ýSOCKETÇëÇóÆäËûPHP½Å²½£¬ÊµÏÖPHPµÄ¶à½ø³ÌµÄÒì²½Ö´ÐС£
·Ï»°¾Í²»¶à˵ÁË£¬Çë¿´ÏÂÃæµÄ½Å²½²¢Ö´ÐÐÖ®¡£
<?php
//a.php
function runThread(){
$fp = fsockopen('127.0.0.1', 82, $errno, $errmsg);
fputs($fp, "GET /a.php?act=b\r\n"); //ÕâÀïµÄµÚ¶þ¸ö²ÎÊýÊÇHTTPЭÒéÖй涨µÄÇëÇóÍ·
//²»Ã÷°×µÄÇë¿´RFCÖ ......

10ÌõPHP±à³ÌÏ°¹ßÖúÄãÕÒ¹¤×÷

1¡¢Ê¹Óõ¥ÒýºÅÀ¨ÆðÀ´µÄ×Ö·û´®
µ±Ê¹ÓÃË«ÒýºÅÀ´À¨×Ö·û´®Ê±£¬PHP½âÊÍÆ÷»á¶ÔÆä½øÐбäÁ¿Ìæ»»¡¢×ªÒåµÈ²Ù×÷£¬Èç
“\n”¡£Èç¹ûÖ»ÏëÊä³öÒ»¸ö»ù±¾µÄ×Ö·û´®£¬Óõ¥ÒýºÅ»á½ÚʡһЩ×ÊÔ´¡£µ±È»£¬Èç¹ûÐèÒª½øÐбäÁ¿Ìæ»»µÄ£¬ÄǾͱØÐëÓÃË«ÒýºÅÁË¡£
2¡¢×Ö·û´®µÄÊä³ö
ÒÔÏÂÄÄÒ»ÌõÓï¾äµÄÔËÐÐËÙ¶È×î¿ì£¿
print “Hi my name is ......

PHPÈëÃŵÄѧϰ·½·¨


ÿ¸öÈ˵Äѧϰ·½Ê½²»Í¬£¬Ð´ÕâƪÎÄÕµÄÄ¿µÄÊÇ·ÖÏíÒ»ÏÂ×Ô¼ºµÄѧϰ¹ý³Ì£¬½ö¹©²Î¿¼£¬²»ÒªÒ»Î¶µÄÓñðÈ˵Äѧϰ·½·¨£¬ÕÒ¶Ô×Ô¼ºÓÐÓõÄѧϰ·½Ê½
¡¡¡¡¾­³£ÔÚijЩÂÛ̳ºÍQQȺÀï¿´µ½Ò»Ð©ÅóÓÑ»áÎÊ“ÔõÑù²ÅÄÜѧºÃPHP£¬ÔõÑù²ÅÄÜѧºÃ***ÓïÑÔ ”£¬µ«±ðÈ˻شð×î¶àµÄÊÇ£º´Ó×òµ¥”µÄ¿ªÊ¼¡£
¡¡¡¡Õâ¸ö¼òµ¥Ò²ÐíÕæµÄ²»¼òµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ