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

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Îļþϵͳº¯Êý¿â

basename: ·µ»Ø²»º¬Â·¾¶µÄÎļþ×Ö·û´®¡£
chgrp: ¸Ä±äÎļþËùÊôµÄȺ×é¡£
chmod: ¸Ä±äÎļþµÄÊôÐÔ¡£
chown: ¸Ä±äÎļþµÄÓµÓÐÕß¡£
clearstatcache: Çå³ýÎļþ״̬¿ìÈ¡¡£
copy: ¸´ÖÆÎļþ¡£
delete: ÎÞÓõÄÏîÄ¿¡£
dirname: È¡µÃ·¾¶ÖеÄĿ¼Ãû¡£
diskfreespace: È¡µÃĿ¼ËùÔÚµÄÊ£Óà¿ÉÓÿռ䡣
fclose: ¹Ø±ÕÒÑ´ò¿ªµÄ ......

Äã²»Á˽âPHPµÄ10¼þÊÂÇé

1.ʹÓà ip2long() ºÍ long2ip() º¯ÊýÀ´°Ñ IP µØַת»¯³ÉÕûÐÍ´æ´¢µ½Êý¾Ý¿âÀï¡£ÕâÖÖ·½·¨°Ñ´æ´¢¿Õ¼ä½µµ½Á˽ӽüËÄ·ÖÖ®Ò»£¨char(15) µÄ 15 ¸ö×Ö½Ú¶ÔÕûÐ뵀 4 ¸ö×Ö½Ú£©£¬¼ÆËãÒ»¸öÌض¨µÄµØÖ·ÊDz»ÊÇÔÚÒ»¸öÇø¶ÎÄÚÒ³¸ü¼òµ¥ÁË£¬¶øÇÒ¼Ó¿ìÁËËÑË÷ºÍÅÅÐòµÄËٶȣ¨ËäÈ»ÓÐʱ½ö½öÊÇ¿ìÁËÒ»µã£©¡£
2.ÔÚÑéÖ¤ email µØÖ·µÄʱºòʹÓà checkdnsrr() º ......

PHPѧϰ

 Ç°¼¸ÌìÔÚѧϰPHPµÄʱºò×öÁËÒ»¸ö¼òµ¥µÄÊý¾ÝÔöɾ¸ÄµÄ³ÌÐò£¬ÓÉÓÚ×Ô¼ºÊǵÚÒ»´Î½Ó´¥PHPËùÒÔÔÚÐí¶àµØ·½×öµÄ²»µ½Î»£¬¸Ð¾õºÜǣǿ£¬µ«ÊDZϾ¹ÊÇ»¨ÁËʱ¼äµÄ£¬ËùÒÔÏÖÔÚÌù³öÀ´¡£
1.Íê³ÉÔöɾ²é¸ÄµÄÖ÷Ò³Ã棺connsql.php
 <h1>Data Insert Delete Update</h1>
<?php
    //»ñµÃÊý¾Ý¿âÁ¬½Ó
& ......

ÎÒÑ¡ÔñµÄPHP¿ªÔ´ÍøÉÏÉ̳Ç

Õâ¶Îʱ¼äÔÚÒ»¸öµç×ÓÉÌÎñ¹«Ë¾´ýÔÚ£¬ËùÒÔ½Ó´¥µ½ºÜ¶àµç×ÓÉÌÎñµÄ¸ÅÄî¡£
Ò²½Ó´¥µ½ÁËÒ»¸öȫеĵç×ÓÉÌÎñģʽ¡£ÕâÀïÓÉÓÚÉæ¼°µ½Á˹«Ë¾µÄÓªÏú
²ßÂÔ·½ÃæµÄÉÌÎñ»úÃÜ£¬ËùÒÔ²»±ã¹ý¶àµÄ̸¼°¡£
²»¹ýÒ»¸öºÃµÄidea£¬×ÜÊǻṴÆðºÜ¶àµÄ²»Î·Ê§°ÜµÄ³¢ÊÔ¡£ÎҾʹÓ×î»ù
´¡µÄµç×ÓÉÌÎñ¿ªÊ¼ß·¡£
¸ÕºÃÓиöÅóÓÑ×¼±¸×öÊÖ»úµÄµç×ÓÉÌÎñ£¬ÓÃÇ°¼¸ÆªÎÄÕÂÌá ......

php½Ì³Ì£ºmysqlµÄ³£ÓÃÓï¾ä

¹ØÓÚ PHP ½Ì³ÌµÄÎÄÕÂÒѾ­ºÜ¶àÁË£¬½ñÌì¸ø´ó¼Ò½éÉܼ¸¸ö³£ÓõÄMYSQLÓï¾ä¡£
ÏÔʾÊý¾Ý¿â»ò±í:
show databases;//È»ºó¿ÉÒÔuse database_name;
show tables;
¸ü¸Ä±íÃû:
alter table table_name rename new_t;
Ìí¼ÓÁÐ :
alter table table_name add column c_n column attributes;
ɾ³ýÁÐ:
alter table table_name ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ