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

PythonºÍPHPÖ®±È½Ï

  ż¶û×ö¸ö¼òµ¥µÄWEB·þÎñ²âÊÔ³ÌÐò£¬ÎÒ»¹ÊÇϲ»¶²ÉÓÃPHP¡£¼ò½à£¬·ç¸ñºÍC/C++½Ó½ü£¬ÉÏÊֿ죬¶øÇÒ¿âÒ²ºÜÆëÈ«¡£ÒÔǰΪ¹ã¶«Òƶ¯×öÒƶ¯ÐÐÒµÖն˵ÄÑÝʾ³ÌÐòʱ£¬²ÉÓùúÄÚÒ»¸öÐÖµÜдµÄFleaPHP¿ªÔ´¿ò¼Ü£¬Á½Öܲ»µ½µÄʱ¼ä£¬ÎÒ´ÓÒ»¸ö¶ÔPHPÒ»ÎÞËùÖªµÄˮƽ£¬¿ìËٵĸ㶨ÁË30¶à¸öÒ³ÃæµÄºǫ́£¬ºóÀ´ÑÝʾЧ¹ûÒ²²»´í£¬Ò²ºÜÎȶ¨£¬´Ó´Ë¶ÔPHPÓÐÁ˺ÜÉîµÄ¸ÐÇé¡£ËäÈ»×î½üÓõıȽ϶àµÄÊÇPython,µ«×ܸоõPythonÔÚWeb·½Ã滹ÊDz»ÈçPHPÄÇô¿ì½ÝÓë·½±ã£¬PHPËƺõÌìÉú¾ÍÊÇΪWEBËù×÷¡£µ«ÊÇҪдһЩÆäËûµÄC/SÐÎʽµÄ²âÊÔ³ÌÐò£¬python»¹ÊÇÏԵøüʤһ³ï£¬ËäÈ»pythonÏÖÔÚÒ²ÌṩÁ˺ܶàµÄWEB¿ò¼Ü£¬µ«Ëƺõ×ÜûÓж¯Á¦È¥ÉÁË£¬Ò²ÐíÕâ¾ÍÊÇÈ˵ĶèÐÔ°É£¡
   ´ÓÎÒ×Ô¼ºÊ¹ÓÃÁ½Öֽű¾µÄ¾­ÑéÀ´¿´£¬PythonºÍPHPÁ½Öֽű¾ÒªÍ¬Ê±ÊÊÓ¦ÏÂÀ´£¬»¹È·ÊµÓÐһЩÀ§ÄÑ£¬¶þÕߵĴúÂë·ç¸ñ²îÒìȷʵ̫´óÁËÒ»µãµã£¬³£³£Ð´´úÂëʱ»ìÏýÆðÀ´£¬¼ÓÉÏÏÖÔڵļÇÒäÁ¦ÊµÔÚÊÇË¥Í˵ÄÀ÷º¦£¬ÓÐʱ³ÉÁËÒ»¸öÀ§ÈÅ¡£
  GoogleÓ¦¸ÃËãÊÇpythonµÄ×î´óÍƳçÕߺÍʹÓÃÕßÁË£¬google app engine, chromeÖÐÎÞ´¦²»ÊÇpythonµÄÉíÓ°£¬ÀïÃæµÄһЩ´úÂë¿´ÆðÀ´£¬È·ÊµÈÃÈËÉÍÐÄÔÃÄ¿£¬ÓïÑԵļò½à£¬¿É¶ÁÐÔʵÔÚÊÇÌåÏÖµ½Á˼«Ö£¬¶ÁµÄʱºò¾­³£ÔÚÏ룬ҪÊÇÓÃC++À´ÊµÏÖÒ»±é£¬ÐèÒª¶à´óµÄƪÕ°¡£¡
  ×î½üÒ»Á½ÄêдC++´úÂë±È½ÏÉÙÁË£¬Å¼¶û×Ô¼ºÐ´Ð´³ÌÐòÒ²ÊÇÒԽű¾ÎªÖ÷£¬½Å±¾ÓöàÁËÕæµÄÊÇÌåÑéµ½¶¯Ì¬ÓïÑÔµÄ÷ÈÁ¦£¬ÎÒÏëÓïÑÔδÀ´µÄ·¢Õ¹Ç÷ÊÆÓ¦¸ÃÒ²Êdz¯×ÅÕâ¸ö·½Ïò·¢Õ¹°É£¡


Ïà¹ØÎĵµ£º

PHPµÄOpenID¿â Community

Community-IDÊÇÒ»¸öʵÏÖÁË OpenID 2.0 ЭÒéµÄ PHP ¿â¡£
а汾ÔÚÓû§¹ÜÀí½çÃæÔö¼ÓÁËÒ»¸öÇå³ý°´Å¥£¬ÓÃÀ´Çå³ýËÑË÷ÊäÈë¿òµÄÄÚÈݺʹ洢ÔÚµ±Ç°¹ýÂËÆ÷ÁбíµÄÌõ¼þÐÅÏ¢£»¸üÐÂÁËÌáÐÑÓʼþÄ£°åµÄ·­ÒëÎı¾£»ä¯ÀÀÓû§ÁбíµÄʱºò½«ÔÚ״̬ÁÐÖÐÏÔʾÉÐδ¼¤»îµÄÓû§Êý£»Zend¿ò¼ÜÉý¼¶µ½ 1.9.2 °æ±¾£»ÐÞÕýÁËһЩbug¡£
ÏÂÔØ Community-ID 1.1.0 ......

phpÖлñÈ¡¸÷ÖÖ·¾¶

test.php -------------------------------------------------------------------------------------
echo $_SERVER['DOCUMENT_ROOT'].""; //»ñµÃ·þÎñÆ÷Îĵµ¸ù
echo $_SERVER['PHP_SELF'].""; //»ñµÃÖ´ÐиôúÂëµÄÎļþ·þÎñÆ÷¾ø¶Ô·¾¶
/*
phpÊÖ²áÉϵĽâÊÍ£º “PHP_SELF” µ±Ç°ÕýÔÚÖ´Ðнű¾µÄÎļþÃû£¬Óë docum ......

¹ØÓÚPHPµÄ¼¸µãÎÊÌâ¼°½â¾ö·½·¨

1.ÅäÖÃIISϵÄPHP»·¾³
ÎÒÓõÄÊÇWindows server 2003+IIS 6.0+PHP,µ«¸Õ¿ªÊ¼ÓõÄPHP5.3£¬°´ÕÕÍøÉϵķ½·¨http://www.gzu521.com/campus/article/network/200902/182924.htmÒ»²½²½ÅäÖ㬵«Êǽá¹ûÔËÐгöÏÖÁËÒ»¸öÎÊÌ⣬¾ÍÊÇThe FastCGI Handler was unable to process the request.ÕÒÁ˺ܶà½â¾ö·½·¨µ«ÊÇ»¹ÊÇûÓнâ¾ö£¬×îºóÎÒ»»³É ......

ʵÀýÏê½âPHP serializeÓëJSON½âÎö

JSON
»ù
ÓÚJavaScript Programming Language, Standard ECMA-262 3rd Edition -
December 1999µÄÒ»¸ö×Ó¼¯¡£JSON²ÉÓÃÍêÈ«¶ÀÁ¢ÓÚÓïÑÔµÄÎı¾¸ñʽ£¬µ«ÊÇҲʹÓÃÁËÀàËÆÓÚCÓïÑÔ¼Ò×åµÄÏ°¹ß£¨°üÀ¨C, C++, C#, Java
, JavaScript, Perl, PythonµÈ£©¡£ÕâЩÌØÐÔʹJSON³ÉΪÀíÏëµÄÊý¾Ý½»»»ÓïÑÔ¡£
JSON½¨¹¹ÓÚÁ½Öֽṹ£º
“Ãû
³ ......

Linux ƽ̨Ï PHP °²×° Æô¶¯

php°²×°
# tar xzvf php-5.2.5.tar.gz
# cd php-5.2.5
./configure --prefix=/home/redadmin/php --with-apxs2=/home/redadmin/apache/bin/apxs --with-mysql=/home/redadmin/mysql --enable-mbstring=all --enable-track-vars
# make && make install
# cp php.ini-dist /home/redadmin/php/lib/php.ini
# c ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ