Ubuntu Ï°²×°PHP¿ª·¢»·¾³Zend Studio 5.5.1
1.ÏÂÔØZend for Linux¡£
2.µÚÒ»²½µ±È»Êǽâѹzip£¬½âѹ³öÀ´Ò»¸ö bin ¸ñʽµÄ°²×°Îļþ£¬
cpµ½ÎÒµÄÓû§Ä¿Â¼home/ibmÖУ¬ÔÚÖն˵ØÖ±½ÓÊäÈë./ZendStudio-5_5_1.bin£¬°²×°±ã×Ô¶¯°²×°£¨ÐèÒªjreÖ§³Ö£¬ÎÒÒѾÌáÇ°°²
×°¹ýÁË£¬°²×°ÃüÁîÊÇ£ºsudo apt-get install sun-java6-jre
sun-java6-jdk£©£¬¹ý²»Á˶à¾Ã£¬±ã¿ªÊ¼Á˽çÃæ°²×°£¬¼ûͼ£º
ºÍWindowsϵݲװ½çÃæÒ»Ñù£¬Ò»Â·NEXT¼´¿É¡£
°²×°Íê±Ïºó£¬´ò¿ªÈí¼þ£¬²é¿´ÁËÏÂÈí¼þÐÅÏ¢£¬·¢ÏÖÈí¼þÐí¿Éµ½ÆÚʱ¼äÊÇ2008Äê12ÔÂ3ÈÕ£¬Ò²¾ÍÊÇÒ»¸öÔÂʱ¼äµÄÊÔÓÃÆÚ£»ÔÚ±àÂëÇøÊäÈ뺺×Ö£¬·¢ÏÖÈ«ÊÇ¿Ú¿Ú£¨ÂÒÂ룩£¬¼ûͼ£º
²»¼±£¬Ò»¸öÒ»¸ö½â¾öËü£¡Ê×ÏÈÒªÆƽâÈí¼þÐí¿ÉÈÕÆÚ£¬ÔÚÍøÉÏÕÒµ½ÁËÒ»¸öÔÚÏßÉú³Ézend studioÐòÁкŵÄÍøÕ¾£¬ÍøÖ·£ºhttp://www.zendstudio.net/libs/zendstudio5_5_1-keymaker-php/
È»ºó¾ÍÊǽâ¾öÖÐÎÄÂÒÂëÎÊÌ⣬ÍøÉÏÓÐÒ»¸ö²»´íµÄ½â¾ö°ì·¨£º
1. ´´½¨Îļþ¼Ðfallback
:R!k h+z#O8V,T8N
;{ F"l&Z+C$u
mkdir zend°²×°Ä¿Â¼/ZendStudio-5.5.1/jre/lib/fonts/fallback
9q i$J6f1}8F8`#|(c
%c"w*o5x;i8E5A2p
2.·½·¨Ò»£º£¨ÍƼö£©
°Ñ/usr/share/fonts/truetype/arphic/ Îļþ¼ÐϵÄ×ÖÌ忽±´µ½ fallbackÏÂ
·½·¨¶þ£º
¸´ÖÆ×ÖÌåsimsun.ttc£¨WINDOWSϵͳµÄFontsĿ¼ÏÂÃæÓÐÕâ¸ö×ÖÌ壩 µ½fallbackºóÃû×ÖΪsimsun.ttf³ÌÐò¿ª·¢£¬²Ù×÷ϵͳ£¬·þÎñÆ÷£¬Ô´ÂëÏÂÔØ£¬Linux,Unix,BSD,PHP,Apach,asp,ÏÂÔØ,Ô´Âë,ºÚ¿Í,°²È«,¼¼ÊõÉçÇø,¼¼ÊõÂÛ̳5x8t&C;I:X#g0d)m
³ÌÐò¿ª·¢£¬²Ù×÷ϵͳ£¬·þÎñÆ÷£¬Ô´ÂëÏÂÔØ£¬Linux,Unix,BSD,PHP,Apach,asp,ÏÂÔØ,Ô´Âë,ºÚ¿Í,°²È«,¼¼ÊõÉçÇø,¼¼ÊõÂÛ̳'U0F#q2l6X(p#i&A
cp simsun.ttc zend°²×°Ä¿Â¼/ZendStudio-5.5.1/jre/lib/fonts/fallback/simsun.ttfTechWeb-¼¼ÊõÉçÇø!b%u$?/X.n.\3[.W-p
´ÓÐÂÆô¶¯Zend£¬ÂÒÂëÎÊÌâ½â¾öÁË£¬¼ûͼ£º
OK£¬Zend Studio°²×°ºÃÁË£¬¿ªÊ¼¹¤×÷£¡
Ïà¹ØÎĵµ£º
phpÁ¬½Óaccess
$conn=new COM("ADODB.Connection");
$dsn="DRIVER={Microsoft Access Driver (*.mdb)};DBQ=".realpath("data.mdb").";Uid=Admin; Pwd=BDC2002Data;";
$conn->open($dsn);
$sql="select * from dict";
$rs=$conn->Execute($sql);
$row="0";
while(!$rs->EO ......
JSON
»ù
ÓÚJavaScript Programming Language, Standard ECMA-262 3rd Edition -
December 1999µÄÒ»¸ö×Ó¼¯¡£JSON²ÉÓÃÍêÈ«¶ÀÁ¢ÓÚÓïÑÔµÄÎı¾¸ñʽ£¬µ«ÊÇҲʹÓÃÁËÀàËÆÓÚCÓïÑÔ¼Ò×åµÄÏ°¹ß£¨°üÀ¨C, C++, C#, Java
, JavaScript, Perl, PythonµÈ£©¡£ÕâЩÌØÐÔʹJSON³ÉΪÀíÏëµÄÊý¾Ý½»»»ÓïÑÔ¡£
JSON½¨¹¹ÓÚÁ½Öֽṹ£º
“Ãû
³ ......
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 ......
1.ʹÓà ip2long() ºÍ long2ip() º¯ÊýÀ´°Ñ IP µØַת»¯³ÉÕûÐÍ´æ´¢µ½Êý¾Ý¿âÀï¡£ÕâÖÖ·½·¨°Ñ´æ´¢¿Õ¼ä½µµ½Á˽ӽüËÄ·ÖÖ®Ò»£¨char(15) µÄ 15 ¸ö×Ö½Ú¶ÔÕûÐ뵀 4 ¸ö×Ö½Ú£©£¬¼ÆËãÒ»¸öÌض¨µÄµØÖ·ÊDz»ÊÇÔÚÒ»¸öÇø¶ÎÄÚÒ³¸ü¼òµ¥ÁË£¬¶øÇÒ¼Ó¿ìÁËËÑË÷ºÍÅÅÐòµÄËٶȣ¨ËäÈ»ÓÐʱ½ö½öÊÇ¿ìÁËÒ»µã£©¡£
2.ÔÚÑéÖ¤ email µØÖ·µÄʱºòʹÓà checkdnsrr() º ......
ÅäÖÃAPACHEʹÆäÖ§³ÖphpµÄ³É¹¦¾Ñ飨ֻÊǹؼü²¿·ÖÅäÖ㬲¢·ÇÕû¸öÅäÖùý³Ì£©
»·¾³£º
WinXP sp3
Apache2.2
php-5.2.2-Win32.zip½âѹĿ¼D£º\PHP
ÔÚApacheµÄhttpd.confÎļþÖвÉÈ¡ÓüÓÔØÄ£¿éµÄ·½Ê½ÔÚÎļþÖÐÌí¼ÓÓï¾ä£º
LoadModule php5_module "D:/PHP/php5apache2-2.dll"
×¢ÒâÕâÀïÒ»¿ªÊ¼ÎÒÌí¼ÓµÄÊÇD:/PHP/php5apache2.dll ......