40¸ö¼£Ïó±íÃ÷Ä㻹ÊÇPHP²ËÄñ
ËäÈ»ÏÂÃæµÄ¶«Î÷ÊÇÕë¶ÔPHP¿ª·¢ÈËԱ˵µÄ£¬ÆäʵºÜ¶àÔÔò¶¼ÊÇͨÓõģ¬ASP.NET,JSP¿ª·¢ÈËÔ±Ò²Ò»Ñù¿ÉÒÔ²ÎÕÕ£¡ ÌùÔÚÕâÀïºÍ´ó¼Ò¹²Ã㣡
ÎÄ×÷ÕߣºReinhold Weber
ÔÎÄÁ´½Ó£º40 signs you really are a lousy PHP programmer
ÒëÕߣºdavidkoree
40¸ö¼£Ïó±íÃ÷Ä㻹ÊÇPHP²ËÄñ
ÎÒÔ¸Òâ°Ñ±¾ÎĹéÈëÎҵē±à³ÌôÜÊ”ϵÁС£¾¡¹ÜÔÚÕý¹æ´óѧ¿Î³ÌÖУ¬½Ó´¥µ½Èí¼þ¹¤³Ì¡¢ÆóÒµ¼¶Èí¼þ¼Ü¹¹ºÍÊý¾Ý¿âÉè¼Æ£¬µ«ÎÒ»¹ÊÇʱ²»Ê±µØÌå»áµ½ÏÂÊöÊÂʵ´ø¸øÎҵē×ï¶ñ”¸Ð£¬µ±È»£¬¶¼ÊÇÎÒµÄÖ÷¹Û¸ÐÊÜ£¬²¢ÇÒÃæÏòEclipse£º
ÄãÊÇPHP²ËÄñ£¬Èç¹ûÄ㣺
1. ²»»áÀûÓÃÈçphpDocÕâÑùµÄ¹¤¾ßÀ´Ç¡µ±µØ×¢ÊÍÄãµÄ´úÂë
2. ¶ÔÓÅÐãµÄ¼¯³É¿ª·¢»·¾³ÈçZend Studio»òEclipse PDTÊÓ¶ø²»¼û
3. ´ÓδÓùýÈκÎÐÎʽµÄ°æ±¾¿ØÖÆϵͳ£¬ÈçSubclipse
4. ²»²ÉÓÃijÖÖ±àÂëÓëÃüÃû±ê×¼£¬ÒÔ¼°Í¨ÓÃÔ¼¶¨£¬²»ÄÜÔÚÏîÄ¿¿ª·¢ÖÜÆÚÀï¹á³¹Âäʵ
5. ²»Ê¹ÓÃͳһ¿ª·¢·½Ê½
6. ²»×ª»»£¨»ò£©Ò²²»Ñé֤ijЩÊäÈë»òSQL²éѯ´®£¨Òë×¢£º²Î¿¼PHPÏà¹Øº¯Êý£©
7. ²»ÔÚ±àÂë֮ǰ³¹µ×¹æ»®ÄãµÄ³ÌÐò
8. ²»Ê¹ÓòâÊÔÇý¶¯¿ª·¢
9. ²»ÔÚ´íÎó¿ªÆô״̬ϽøÐбàÂëºÍ²âÊÔ£¨Òë×¢£º²Î¿¼PHPº¯Êýerror_reporting£©
10. ¶Ôµ÷ÊÔÆ÷µÄºÃ´¦ÊÓ¶ø²»¼û
11. ²»Öع¹ÄãµÄ´úÂë
12. ²»Ê¹ÓÃÀàËÆMVCģʽ°Ñ³ÌÐòµÄ²»Í¬²ã´Î»®·Ö¿ª
13. ²»ÖªµÀÕâЩ¸ÅÄKISS, DRY, MVC, OOP, REST
14. ²»ÓÃreturn¶øÊÇÖ±½ÓÔÚÄãµÄº¯Êý»òÀàÖÐÊä³ö£¨echo/print£©ÄÚÈÝ
15. ¶Ôµ¥Ôª²âÊÔ»òͨÓòâÊÔµÄÓŵãÊÓ¶ø²»¼û
16. ×ÜÊÇ·µ»ØÓ²±àÂëµÄHTML£¬È´²»·µ»Ø´¿´âµÄÊý¾Ý£¬×Ö·û´®£¬»ò¶ÔÏó
17. ×ÜÊǶԓÏûÏ¢”ºÍ“ÅäÖòÎÊý”½øÐÐÓ²±àÂë
18. ²»¶ÔSQL²éѯÓï¾ä×öÓÅ»¯
19. ²»Ê¹ÓÃ__autoload£¨Òë×¢£º²Î¿¼PHPÊÖ²áÏà¹ØÃèÊö£©
20. ²»ÔÊÐíÖÇÄÜ´íÎó´¦Àí£¨Òë×¢£º²Î¿¼PEARµÄErrorStack£©
21. ʹÓÃ$_GETÌæ´ú$_POSTÀ´×ö¾ßÓÐÆÆ»µÐԵĴ«µÝ²Ù×÷
22. ²»ÖªµÀÔõôÀûÓÃÕýÔò±í´ïʽ
23. ´ÓδÌý˵¹ýSQL×¢Èë»ò¿çÕ¾½Å±¾
24. ²»ÔÊÐí¼òÒ×ÅäÖã¬Ò²²»ÔÊÐíÀàµÄ¹¹Ô캯Êý½ÓÊܲÎÊý´«µÝ¶øºóÖ´ÐÐset/get·½·¨£¬»òÔËÐÐʱµÄ³£Á¿¶¨Òå
25. ²»Àí½âÃæÏò¶ÔÏó±à³Ì£¨OOP£©µÄÓÅÊƺÍÁÓÊÆ
26. ²»ÊÓÇéÐδóС¶øÀÄÓÃOOP
27. ×ÔÈÏΪʵÏֿɸ´ÓõÄÈí¼þÒ»¶¨µÈÓÚ/ÐèÒªÈÃÄãµÄ´úÂë×ñÑOOP
28. ²»ÀûÓÃÖÇÄÜȱʡֵ
29. ûÓе¥Ò»µÄÅäÖÃÎļþ
30. ²»Ï뱩¶ÎļþÔ´Â룬ȴÓÃ.incºó׺ÃûÈ¡´úÁË.php
31. ²»Ê¹ÓÃÊý¾Ý¿â³éÏó²ã
32. ²»Äܱ£³ÖDRY×÷·ç£¬¼´²»Öظ´×Ô¼º£¬Èç¹ûÄã×ÜÊÇÔÚ¸´ÖÆÕ³ÌùһЩ¶«Î÷£¬ËµÃ÷ÄãÉè¼ÆµÃºÜ²î¾¢
33. ûÓÐʵÏÖÈÃÒ»¸öº¯Êý/Àà/
Ïà¹ØÎĵµ£º
PHPÖ®¸¸Rasmus LerdorfÔÚ»¥ÁªÍø¼¼Êõ¾«Ó¢ÂÛ̳Éϱíʾ£¬¿ª·¢ºÍ»¥¶¯ÊÇÍøÕ¾³É¹¦µÄ»ù´¡¡£
¡¡¡¡RasmusÒÔÑÇÂíÑ·ºÍÑÅ»¢¾ÙÀý£¬“ÕâЩÍøÕ¾Èç¹ûûÓÐÓû§µÄ»°£¬×öµÃÔÙƯÁÁҲʲô¶¼²»ÊÇ”¡£RasmusÈÏΪ£¬ÍøÕ¾Ò»¿ªÊ¼Ó뱨ֽһÑù£¬½ö½öÊÇ“µ¥Ïò½»Á÷”ÌṩÐÅÏ¢£¬ÓÐÈËÀ´¿´¼´¿É¡£
¡¡¡¡“µ«ÊǶÔÏÖ´úµÄÍøÕ¾À´Ëµ£¬ÕâÒÑ ......
xhprofÊÇfacebook¿ªÔ´³öÀ´µÄÒ»¸öphpÐÔÄܲâÊÔ¹¤¾ß£¬Ò²¿ÉÒÔ³Æ֮Ϊprofile¹¤¾ß£¬Õâ¸ö´Ê²»ÖªµÀÔõô·Òë²Å±È½Ï´ïÒâ¡£¸ú֮ǰһֱʹÓõÄxdebugÏà±È£¬ÓкܶàÀàËÆÖ®´¦¡£ÒÔÇ°¶ÔxdebugÓÐһЩ¼Ç¼»¹¿ÉÒÔ¹©²Î¿¼£¬µ«ÊÇËüµÄȱµãÊǶÔÐÔÄÜÓ°ÏìÌ«´ó£¬¼´±ãÊÇ¿ªÆôÁËprofiler_enable_trigger²ÎÊý£¬ÓÃÔÚÉú²ú»·¾³ÖÐÒ²ÊDzҲ»È̶ã¬cpuÁ¢¿Ì¾Íìµ½high ......
PHPÖжԸ÷Àà±äÁ¿ÄÚÈݵÄÃüÃû¹æ·¶
£¨1£©Ä¿Â¼ÃüÃû¡¢ÎļþÃüÃû¡¢¾Ö²¿±äÁ¿ÃüÃû£º
ʹÓÃÓ¢ÎÄÃû´Ê¡¢¶¯´Ê£¬ÒÔÏ»®Ïß×÷Ϊµ¥´ÊµÄ·Ö¸ô£¬ËùÓÐ×Öĸ¾ùʹÓÃСд
Ŀ¼£ºupload¡¢templates¡¢install¡¢manage……
Îļþ£ºindex.php ¡¢ register.php ¡¢ config.php……
±äÁ¿£º$user , $pay_time , $pay_del_co ......
1. Windows XP »·¾³Ï°²×° Apache HTTP Server 2.2.8
¸ÃÕ½ڽ²ÊöÈçºÎÔÚ Windows XP »·¾³Ï°²×° Apache HTTP Server¡£
ÏÂÔØ Apache HTTP Server 2.2.8
Apache µÄ¹Ù·½ÍøÕ¾ÊÇ http://apache.org/¡£
Apache HTTP Server µÄÏÂÔØÒ³ÃæÊÇ http://httpd.apache.org/download.cgi£¬¸ÃÒ³ÖлáÌáʾÄã¿É¹©ÏÂÔصľ ......
˵Ã÷ array preg_split ( string $pattern, string $subject [, int $limit [, int $flags]] ) ·µ»ØÒ»¸öÊý×飬°üº¬ subject ÖÐÑØ×ÅÓë pattern Æ¥ÅäµÄ±ß½çËù·Ö¸îµÄ×Ó´®¡£ Èç¹ûÖ¸¶¨ÁË limit£¬Ôò×î¶à·µ»Ø limit ¸ö×Ó´®£¬Èç¹û limit ÊÇ -1£¬ÔòÒâζ×ÅûÓÐÏÞÖÆ£¬¿ÉÒÔÓÃÀ´¼ÌÐøÖ¸¶¨¿ÉÑ¡²ÎÊý flags¡£ flags ¿ÉÒÔÊÇÏÂÁбê¼ÇµÄÈÎÒâ× ......