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

PHPÎÞÏÞÌݹé

<?php
class Tree
{
      //  public $data=array();//ËùÓнڵãÖµ
       // public $cateArray=array();//ËùÓи¸½Úµã
        function Tree()
        {
        }
        //setNode(Ŀ¼ID,Éϼ¶ID£¬Ä¿Â¼Ãû×Ö);
        function setNode ($id, $parent, $value){
        $parent = $parent?$parent:0;
        $this->data[$id] = $value;//»ñÈ¡µ±Ç°ID¶ÔÓ¦µÄµ±Ç°Ä¿Â¼Ãû
        $this->cateArray[$id] = $parent;//»ñÈ¡µ±Ç°ID¶ÔÓ¦µÄ¸¸·ÖÀàID
       //echo $id."->".$this->cateArray[$id]."--".$this->data[$id]."<br>";
        }
     function getChilds($id=0)
     {
            $childArray=array();
            $childs=$this->getChild($id);
            foreach ($childs as $child)
            {
                     $childArray[]=$child;
                     $childArray=array_merge($childArray,$this->getChilds($child));//id µÝ¹é ÀÛ¼Ó
            }
            return $childArray;
     }
     function getChild($id)
     {
 &nbs


Ïà¹ØÎĵµ£º

PHPµ÷ÓÃC±à³Ì×ܽá(windows)

Ò».»·¾³µÄ°²×°
   
    ÏÂÔØ°²×°°ü£¬GoogleÉÏËÑË÷php+apache+sqlµÄ°²×°°ü²¢°²×°¡£
¶þ.À©Õ¹±à³Ì
    Õë¶ÔÔÚPHP»·¾³ÏµôÓÃC±à³Ì(c³ÌÐò±àÒëµÄdll)£¬Ö÷ÒªÓÐÒÔÏÂÁ½ÖÖ·½Ê½¡£
   
    1.ÀûÓÃATL¹¹½¨DLL×é¼þ£¬È»ºóÔÙPHPÀïÃæÖ±½Óµ÷Ó㬵÷Ó÷½·¨ ......

ÓÃphp gettext¿âÀ´¿ª·¢¶àÓïÑÔϵͳ


ͨ³£ÈËÃÇд³ÌÐòʱ¶¼Êǽ«ÎÄ×ÖдËÀÔÚ³ÌÐòÀïµÄ£¬±ÈÈ磺echo "Hello
World!";
£¬¼ÙÈçÒª¸Ä³ÉËü¹úÓïÑÔ£¬Ð´¹ú¼Ê»¯³ÌÐò£¬¾ÍÒªÖð¸ö´ò¿ª½øÐÐÐ޸쬳ÌÐò½Ï¶Ìʱ»¹ÐУ¬Èô³ÌÐòÓÐÉÏÍòÉõÖÁ¸ü¶à£¬¸ÄÆðÀ´¾Í²»ÊÇÄÇôÈÝÒ×ÁË¡£½üÀ´Ëæ×Åi18nµÄÖð½¥±ê
×¼»¯£¬ÎÒÒ²À´½²Ò»½²ÔÚPHPÖÐÈçºÎʵÏÖ¹ú¼Ê»¯Ö§³Ö¡£¸úÆäËû³ÌÐòÓïÑÔÒ»Ñù£¬ÔÚ PHP Ò²¿ ......

PHP ¼ÆËãÒ³ÃæÖ´ÐÐʱ¼ä

class runtime
{
var $StartTime = 0;
var $StopTime = 0;

function get_microtime()
{
list($usec, $sec) = explode(' ', microtime());
return ((float)$usec + (float)$sec);
}

function start()
{
$this->StartTime = $this->ge ......

xampp£¬Eclipse£¬pdt£¬xdebug¹¹½¨phpµÄµ÷ÊÔ»·¾³

×î½üŪphp£¬·¢ÏÖÏÂÔØµÄphpEclipse²»Äܵ÷ÊÔ£¬×òÌì¾ÍÓÃÁËÒ»¸öÏÂÎçµÄʱ¼ä´î½¨ÁËphpµÄµ÷ÊÔ»·¾³¡£·¢ÏÖÍøÉϵĹØÓÚphpµ÷ÊÔµÄÎÄÕÂÈÃÈËÓеãÂÒ£¬¾ÍÕûÀíÏÂд³ÉÕâÆªÎÄÕ£¬Ï£Íû¶Ô´ó¼ÒÓÐЩ°ïÖú¡£
ÔÚÍøÉϲéºÃÏñÊÇÓÐÁ½ÖÖµ÷ÊԵŤ¾ß£ºXdebugºÍZend Debugger£¬ÎÒÏÖÔÚÓõÄÊÇXdebug¡£ÎÒÖ÷Òª¾Í˵˵xampp£¬Eclipse£¬pdt£¬xdebug¹¹½¨phpµÄµ÷ÊÔ»· ......

¡¾×ª¡¿Ãâ·ÑphpÍøÕ¾ºǫ́¹ÜÀíϵͳ


     1. Joomla!         
2007Ä꿪ԴcmsµÚÒ»Ãû!Joomla!ÊÇʹÓÃPHPÓïÑÔ¼ÓÉÏMySQLÊý¾Ý¿âËù¿ª·¢µÄÈí¼þϵͳ£¬¿ÉÒÔÔÚ Linux¡¢Windows¡¢MacOSXµÈ¸÷ÖÖ²»Í¬µÄƽ̨ÉÏÖ´ÐС£²Ù×÷½Ó¿Ú³ýÁËÃÀ¹ÛÖ®Í⣬Ҳ»¨Á˺ܶàÐÄÁ¦ÔÚÉè¼ÆÕâЩ½Ó¿ÚµÄ¼òÒײÙ×÷ÐÔ¡£µ«³õ´ÎʹÓÃÕߣ¬Ðè ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ