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

PHPµãµãµÎµÎ

1¡¢²¼¶ûÖµ£ºfalse(0,¿Õ°×,null);    true(-1,·Ç0Öµ)£» 2¡¢echo '$s'Êä³öÄÚÈÝÊÇ $s;  
    Èç¹û""ÀïÃæ°üº¬ÁË$s»òÕß{$s}£¬ÄÇô½«ÏÔʾµÄ±äÁ¿µÄÖµ¡£ÍƼöʹÓÃ{$s}µÄ·½Ê½¡£
    ʹÓÃ""ʱºò£¬Èç¹ûÔÚ""ÀïÃ滹ҪʹÓÃ"",¾Í±ØÐëÓÃ\À´×ªÒå,ÀýÈ磺 echo "\"sss\""; 3¡¢×Ö·û´®Á¬½Ó£ºÊ¹Óñêµã"."½øÐÐ×Ö·û´®Á¬½Ó¡£ 4¡¢·ÃÎÊ×Ö·û´®ÖеÄ×Ö·û£ºÍ¨¹ýÔÚ×Ö·û´®Ö®ºóÓû¨À¨ºÅÖ¸¶¨ËùÒª×Ö·û´ÓÁ㿪ʼµÄÆ«ÒÆÁ¿À´·ÃÎÊ¡£
   strlen($str)   º¯Êý¿ÉÒÔ»ñÈ¡×Ö·û´®³¤¶È¡£
   $str[0]  »ñÈ¡×Ö·û´®$strµÄµÚÒ»¸ö×Ö·û¡£
   substr('123456',5,1)   ´ÓµÚ5¸ö×Ö·û¿ªÊ¼»ñÈ¡Ò»¸ö×Ö·û£¬½á¹ûÊÇ¡°6¡±.
5¡¢strval($s)½«$sµÄֵת»»³É×Ö·û´®£¬intval($s)½«$sµÄֵת»»³ÉintÕûÐÍÊýÖµ¡£
   Ë«ÒýºÅÀïÃæʹÓÃË«ÒýºÅ£º" a\"b "=a"b £» 6¡¢Êý×é: (array À¨ºÅ£¬¶ººÅ£¬=>)
   Êý×éÅÅÐò£ºsort($arr);
   ¶¨Ò壺$arr=array(1=>'11','foo'=>'fffooo', 'info'=>array(2=>22,'ghost'=>'host')  );
   ÒýÓãº$arr[1]  $arr['foo']  $arr['info'][2]  $arr['info']['ghost']
   count($arr)  »ñÈ¡Êý×éÔªËØÊýÁ¿
   ±éÀúÊý×飺$arr=array(1=>'111',2=>'222',3=>'333');
             foreach($arr as $k=>$v)
                    echo "{$k}_{$v}
8¡¢±äÁ¿
   isset($s)¼ì²é±äÁ¿ÊÇ·ñÒѾ­ÉèÖã¬Èç¹û»¹Ã»ÓÐÉèÖþÍÒýÓÃ$s½«µ¼ÖÂphpÌáʾ: Undefined variable¡£
   ĬÈÏÇé¿öϱäÁ¿Ö®¼ä¸³ÖµÊDz»»á»¥ÏàÓ°ÏìµÄ£¨´«Öµ¸³ÖµÄ£Ê½£©£»
   Èç¹ûÊÇ $a="a"; $b=&$a  ÕâÖÖÇé¿öÏ£¬$aºÍ$bÖÐÈÎÒ»¸ö±äÁ¿µÄÖµ¸Ä¶¯ÁË£¬ÁíÍâÒ»¸ö±äÁ¿µÄÖµÒ²ËæÖ®±ä»¯£¨´«µØÖ·¸³ÖµÄ£Ê½£©¡£
   PHP5µÄÔ¤¶¨Òå±äÁ¿:
   $_SERVER["REMOTE_ADDR"]  //»ñÈ¡ipµØÖ·
   $_REQUEST[],$_GET[],$_POST[] //»ñÈ¡Ìá½»µÄ²ÎÊýµÄÖµ
   $_SESSION[],$_COOKIE[] 
   $_FILE[]
   $_E


Ïà¹ØÎĵµ£º

php array_diff()

 array array_diff
( array array1, array array2 [, array
...] )
array_diff()
·µ»ØÒ»¸öÊý×飬¸ÃÊý×é°üÀ¨ÁËËùÓÐÔÚ array1
Öе«ÊDz»ÔÚÈκÎÆäËü²ÎÊýÊý×éÖеÄÖµ¡£×¢Òâ¼üÃû±£Áô²»±ä¡£
Ã͵ÄÒ»¿´Õâ¸ö·½·¨£¬»¹ÒÔΪÊǽ«Á½¸öÊý×éÖв»Í¬µÄ·µ»ØÀ´ÄØ£¬ÊÂʵÉϲ»ÊÇ£¬·µ»ØµÄÊÇÔÚarray1Öеģ¬µ«ÊDz»ÔÚÆäËûÊý×éÖеġ£ ......

64λ¶¯Ì¬phpÀ©Õ¹¿âµÄ±àÒë

64λ¶¯Ì¬phpÀ©Õ¹¿âµÄ±àÒë
 ¹¤×÷ÉÏÐèÒª£¬Õâ¸öÎÊÌâÕÛÌÚÁËÒ»Õó×Ó¡£²»¹ýµ±±àÒë³É¹¦Ö®ºó£¬ÐÄÀﻹÊÇÏ൱µÄÐË·Ü£¬¸ÐÊܵ½ÁËÒ»Öֳɾ͸С£Ò²Êǹ¤×÷ÖеÄÒ»ÖÖÀÖȤ¡£
ÏÖÔÚ½«Õû¸ö¹ý³ÌдÏÂÀ´£¬ÒÔ±¸ºóÐøÖ®Ðè¡£
a.shared object
(1) download and install the apache
´ÓÍøÂçÖÐÏÂÔØapache-2.0.48.tar.gz
´æÖÁ/home/tmp
cd /home/ ......

PHP 5.2.11°²×°

#ÕÒµ½:
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    #
    AddType application/x-compress .Z
    AddType application/x-gz ......

PHP·ÉÐÅAPI¼°AU3·ÉÐÅUDF

 ÀûÓ÷ÉÐÅAPIʵÏÖ¹«Ë¾ÄÚ²¿·¢ËͶÌÐÅ¿ÉÒÔʡϲ»ÉÙÇ®.ÍøÉÏÒ²Óв»ÉÙ·ÉÐÅAPI,µ«¸Ð¾õ²»¿É¿¿,
»¹ÊÇ×Ô¼ºÐ´ÁËÒ»¸ö¼òµ¥µÄAPI.µ÷ÓõØÖ·ÈçÏÂ,²»»á¼Ç¼·ÉÐÅÃÜÂë.
ϲ»¶µÄÅóÓÑ¿ÉÒÔÊÔÊÔ,½áºÏAU3ÓÖдÁ˸öUDF.ÕâÏ·¢¶ÌÐÅ·½±ãºÜ¶àÁË.
http://lab.l4ever.cn/fetion/api/?from=·¢ËÍÊÖ»ú&pw=·ÉÐÅÃÜÂë&to=½ÓÊÕºÅÂë&msg=¶ÌÐÅÄÚÈ ......

PHP½Ì³Ì:²å¼þ»úÖÆÔÚPHPÖÐʵÏÖ·½°¸

 ÕâƪÎÄÕµijö·¢µãÊÇÎÒ¶Ô²å¼þ»úÖƵÄÀí½â£¬¼°ÆäÔÚPHPÖеÄʵÏÖ¡£´Ë·½°¸½öÊDzå¼þ»úÖÆÔÚPHPÖеÄʵÏÖ·½°¸Ö®Ò»£¬Ð´ÏÂÀ´ºÍ´ó¼Ò·ÖÏí£¬»¶Ó­´ó¼ÒÒ»ÆðÌÖÂÛ¡£
²å¼þ£¬Ò༴Plug-in£¬ÊÇÖ¸Ò»ÀàÌض¨µÄ¹¦ÄÜÄ£¿é£¨Í¨³£ÓɵÚÈý·½¿ª·¢ÕßʵÏÖ£©£¬ËüµÄÌصãÊÇ£ºµ±ÄãÐèÒªËüµÄʱºò¼¤»îËü£¬²»ÐèÒªËüµÄʱºò½ûÓÃ/ɾ³ýËü£»ÇÒÎÞÂÛÊǼ¤»î»¹ÊǽûÓö¼²»Ó° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ