PHPʹÓÃunsetÏú»Ù±äÁ¿²¢ÊÍ·ÅÄÚ´æ
PHPµÄunset()º¯ÊýÓÃÀ´Çå³ý¡¢Ïú»Ù±äÁ¿£¬²»ÓõıäÁ¿£¬ÎÒÃÇ¿ÉÒÔÓÃunset()½«ËüÏú»Ù¡£µ«ÊÇijЩʱºò£¬ÓÃunset()È´ÎÞ·¨´ïµ½Ïú»Ù±äÁ¿Õ¼ÓõÄÄڴ棡
д³öÓÅÐãµÄ´úÂëÊÇÒ»ÃÅÒÕÊõ£¬ÒªÏëÈç´Ë£¬¾Í±ØÐëÔÚÒ»¿ªÊ¼¾ÍÑø³ÉÁ¼ºÃµÄ±à³ÌÏ°¹ß¡£Á¼ºÃµÄ±à³ÌÏ°¹ß²»½öÓÐÖúÓÚÏîÄ¿³õÆÚµÄÉè¼Æ£¨ÈçÄ£¿é»¯£©£¬»¹¿ÉÒÔʹÄã±àдµÄ´úÂë¸üÒ×ÓÚÀí½â£¬´Ó¶øʹ´úÂëµÄά»¤¹¤×÷¸üÇáËÉ¡¢¸üÊ¡Á¦¡£²»ºÃµÄ±à³ÌÏ°¹ßÔò»áÔì³É´úÂëbug£¬²¢ÇÒ»áʹÒÔºóµÄά»¤¹¤×÷À§...
Sphinx ÔÚ windows Ï°²×°Ê¹ÓÃ
Ç°Ò»Õó×Ó³¢ÊÔʹÓÃÁËһϠSphinx £¬Ò»¸öÄܹ»±»¸÷ÖÖÓïÑÔ (PHP/Python/Ruby/etc) ·½±ãµ÷ÓõÄÈ«ÎļìË÷ϵͳ¡£ÍøÉϵÄ×ÊÁÏ´ó¶àÊÇÔÚ linux »·¾³Ïµİ²×°Ê¹Ó㬵±È»£¬×÷ΪÉú²ú»·¾³ºÜÓбØÒª²¿ÊðÔÚ *nix »·¾³Ï£¬×÷Ϊѧϰ²âÊÔ£¬»¹ÊÇ windows »·¾³±È½Ï·½±ãЩ¡£
¹¥»÷ÊÇÏÖ½ñ×îÁ÷ÐеĹ¥»÷·½Ê½£¬ÒÀ¿¿ËüÇ¿´óµÄÁé»îÐÔÎüÒýÁ˹ã´óºÚÃÔ¡£ËùÒÔ³ÌÐòÔ±Ó¦¸ÃÀμǵÄÒ»¾ä»°£ºÒ»ÇÐÓû§ÊäÈëµÄ¶¼ÊDz»°²È«µÄ¡£
Ò»ÖÂÐÔ¹þÏ£Ëã·¨µÄÒ»ÖÖPHPʵÏÖ
Ò»ÖÂÐÔ¹þÏ£Ëã·¨µÄÒ»ÖÖPHPʵÏÖ
ʹÓÃÒÔÏ·½Ê½¿ÉÒÔ»ñÈ¡¿Í»§¶ËµÄÕæʵIPºÍËùÓдúÀíIP£¬¾ßÌåÈçÏÂ
HipHop for PHPÖÕÓÚ½Ò¿ªÃæÉ´
FacebookÉñÃصÄPHPÏîÄ¿HipHop for PHPÖÕÓÚ½Ò¿ªÃæÉ´¡£Õâ¸öÏîÄ¿ÓÉÒ»¸öPHPµ½C++µÄת»»³ÌÐò£¬Ò»¸öÖØÐÂʵÏÖµÄPHPÔËÐп⣬ºÍÐí¶à³£ÓÃPHPÀ©Õ¹µÄÖØд°æ±¾¹¹³É£¬Ä¿µÄÊÇÖ¼ÔÚ¼ÓËÙºÍÓÅ»¯ PHP¡£
ÓÃFacebook¹Ù·½²©¿Í£¨ÎÞ·¨Ö±½Ó·ÃÎÊ£©ÉÏÏîÄ¿¸ºÔðÈËÕÔº£Æ½£¨±±´ó1...
¾Å´óPHP¿ªÔ´Wiki(ά»ù°Ù¿Æ)³ÌÐòÆÀ²â
ά»ù°Ù¿Æ£¨wiki£©ÊÇWeb2.0µÄ´ú±í²úÎ¸ú²©¿Í¡¢digg¡¢ÊÓƵ·ÖÏíµÈÒ»ÑùͬÑùÇ¿µ÷Óû§²ÎÓ룬·ÖÏí»¥ÁªÍøµÄ¾«Éñ¡£Èç¹ûÏë×Ô¼º±àдһ±¾°Ù¿ÆÈ«Ê飬¸ú½¨Ò»¸ö²©¿ÍÒ»Ñù£¬ÓÐÒѾ¿ª·¢ºÃµÄ³ÌÐò¿ÉÒÔʹÓ㬶øÇÒÊÇ¿ªÔ´µÄ¡£ÓÐÁËÕâЩ¹¤¾ß£¬ÎÒÃÇҪʵÏÖ±àд°Ù¿ÆÈ«ÊéµÄÃÎÏë¾Í²»ÄÑʵÏÖÁË¡£ÒÔ...
twitter×î½ü½«rubyʵÏÖµÄÏûÏ¢¶ÓÁзþÎñÆ÷starling¿ªÔ´ÁË£¬ÕâÊÇÒ»¸öÖ§³ÖmemcacheÐÒéµÄÇáÁ¿¼¶³Ö¾Ã»¯·þÎñÆ÷£¬Òò´ËʹÓÃphp/perl/ruby/javaµÈ¶àÖÖ¿Í»§¶Ë¶¼Ã»ÎÊÌ⣬¿ÉÒÔ½«½ÏÂýµÄ´¦ÀíÂ߼ͨ¹ýÏûÏ¢¶ÓÁзÅÔÚºǫ́´¦Àí£¬Í¬Ê±Ò²Ö§³Ö¶àµã·Ö²¼Ê½´¦Àí¡£ÖÜÄ©ÕÒÁ˸öÏÐÖõÄcentos 5»úÆ÷...
PHPºÍMysqlÖÐһЩÈÝÒ×»ìÏýµÄ¸ÅÄî
¶ÔÓÚ³õѧÕßÀ´Ëµ£¬PHPºÍMysqlÖÐһЩ»ù´¡µÄ¶«Î÷±È½ÏÈÝÒ×»ìÏý£¬±¾Îļòµ¥½éÉÜÒ»ÏÂ
php·Ö±ð×öΪcgiºÍmoduleÀ´ÔËÐеÄÅäÖÃ
php: PHP Version 5.0.0b4
apache: Apache/2.0.49 (Win32)
1£¬×öΪcgiÀ´ÔËÐÐ
2£¬×öΪmoduleÀ´ÔËÐÐ
1,×öΪapache2µÄcgiÔËÐÐ
ScriptAlias /php/ "/usr/local/bin/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi"
...
PHP³ÌÐòÔ±×îÒ×·¸10ÖÖ´íÎó×ܽá
PHPÊǸöΰ´óµÄweb¿ª·¢ÓïÑÔ£¬Áé»îµÄÓïÑÔ£¬µ«ÊÇ¿´µ½php³ÌÐòÔ±Öܶø¸´Ê¼µÄ·¸µÄһЩ´íÎó¡£ÎÒ×öÁËÏÂÃæÕâ¸öÁÐ±í£¬ÁгöÁËPHP³ÌÐòÔ±¾³£·¸µÄ10ÖдíÎ󣬴ó¶àÊýºÍ°²È«Ïà¹Ø¡£
phpÖÐrequire ºÍ Include µÄÇø±ð½²½â
ÕâÁ½¸öÆäʵÏà²î²»Ì«¶à£¬µ«ÊÇÓÐЩϸ΢²î±ð£¬Ð¡µÄ²î±ðÒ²ÄÜʹ³ÌÐòÖдó²»Ò»Ñù£¬¸öÈ˾õµÃÀïÃæµÄÀý×Ó ¾ÙÀýµÃ·Ç³£µÄºÃ Ï£Íû¶Ô´ó¼ÒÓÐËù°ïÖú
¿´Ö®Ç°ÀμÇÒ»¾äÀÏ»°£ºÒ»ÇÐÓû§ÊäÈëµÄ¶¼ÊDz»°²È«µÄ¡£
phpʵÏÖÑéÖ¤Âëʶ±ðÔÀíºÍ³ÌÐò´úÂëʵÀý
½üÆÚÑо¿Ò»Ð©Í»ÆÆÑéÖ¤Âë·½ÃæµÄ֪ʶ,¼Ç¼ÏÂÀ´¡£
Ò»·½ÃæËãÊǶÔÕ⼸Ììѧϰ֪ʶµÄ×ܽá°ïÖú×Ô¼ºÀí½â£»
ÁíÒ»·½ÃæÏ£Íû¶ÔÑо¿Õâ·½ÃæµÄ¼¼ÊõͬѧÓÐËù°ïÖú£»
ÁíÍâҲϣÍûÒýÆðÍøÕ¾¹ÜÀíÕßµÄ×¢Ò⣬ÔÚÌṩÑéÖ¤Âëʱ¶àЩ¿¼ÂǽøÈ¥¡£
ÓÉÓÚ¸Õ¸Õ½Ó´¥Õâ·½ÃæµÄ֪ʶ£¬Àí½â±È½ÏdzÏÔ£¬ÓдíÎó...
MySQL ·þÎñÆ÷µ÷ÓÅ£¨LAMP ϵͳÐÔÄܵ÷ÓÅ£¬µÚ 3 ²¿·Ö£©
Èç½ñ£¬¿ª·¢ÈËÔ±²»¶ÏµØ¿ª·¢ºÍ²¿ÊðʹÓà LAMP£¨Linux®¡¢Apache¡¢MySQL ºÍ PHP/Perl£©¼Ü¹¹µÄÓ¦ÓóÌÐò¡£µ«ÊÇ£¬·þÎñÆ÷¹ÜÀíÔ±³£³£¶ÔÓ¦ÓóÌÐò±¾ÉíûÓÐʲô¿ØÖÆÄÜÁ¦£¬ÒòΪӦÓóÌÐòÊDZðÈ˱àдµÄ¡£Õâ·Ý ¹²Èý²¿·ÖµÄϵÁÐÎÄÕ ½«ÌÖÂÛÐí¶à·þÎñÆ÷ÅäÖÃÎÊÌ⣬ÕâЩÅäÖûáÓ°ÏìÓ¦ÓóÌ...
ÓÅ»¯ Apache ºÍ PHP£¨LAMP ϵͳÐÔÄܵ÷ÓÅ£¬µÚ 2 ²¿·Ö£©
Èç½ñ£¬Ê¹Óà LAMP£¨Linux®¡¢Apache¡¢MySQL ºÍ PHP/Perl£©¼Ü¹¹µÄÓ¦ÓóÌÐò²»¶Ï±»¿ª·¢ºÍ²¿Êð¡£µ«ÊÇ£¬·þÎñÆ÷¹ÜÀíÔ±³£³£¶ÔÓ¦ÓóÌÐò±¾Éí¼¸ºõûÓпØÖÆÄÜÁ¦£¬ÒòΪӦÓóÌÐòÊDZðÈ˱àдµÄ¡£Õâ·Ý ¹²Èý²¿·ÖµÄϵÁÐÎÄÕ ½«ÌÖÂÛÐí¶à·þÎñÆ÷ÅäÖÃÎÊÌ⣬ÕâЩÅäÖûáÓ°ÏìÓ¦ÓóÌÐòµÄÐÔÄÜ...
bool curl_setopt (int ch, string option, mixed value)
curl_setopt()º¯Êý½«ÎªÒ»¸öCURL»á»°ÉèÖÃÑ¡Ïî¡£option²ÎÊýÊÇÄãÏëÒªµÄÉèÖã¬valueÊÇÕâ¸öÑ¡Ïî¸ø¶¨µÄÖµ¡£
ÏÂÁÐÑ¡ÏîµÄÖµ½«±»×÷Ϊ³¤ÕûÐÎʹÓÃ(ÔÚoption²ÎÊýÖÐÖ¸¶¨)£º¡¡
*CURLOPT_INFILESIZE: µ±ÄãÉÏ´«Ò»¸öÎļþµ½...