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

PHPÖеÄħÊõ·½·¨

PHPÖÐÓÐÏÂÁгÆÖ®ÎªÄ§Êõ·½·¨(magic method)µÄº¯Êý:__construct, __destruct ,
__call, __callStatic,__get, __set, __isset, __unset , __sleep, __wakeup,
__toString, __set_state, __clone and __autoload,±¾ÎÄʹÓÃ__callΪʵÏÖÒ»¸öÉí·ÝÑéÖ¤µÄ¼òµ¥ÊµÀý£¬´úÂëÈçÏ£º ´úÂë<?php
    interface Accountable
    {
        const ERR_MSG = "error";
        public function isLoggedIn();
        public function getAccount($user = '');
    }
    abstract class Authentication implements Accountable
    {
        private $account = null;
        public function getAccount($user = '')
        {
            if ($this->account != null) {
                return $this->account;
            } else {
                return ERR_MSG;
            }
        }
        public function isLoggedIn()
        {
            return ($this->account != null);
        }
    }
    class 


Ïà¹ØÎĵµ£º

PHPÓÃmkdir()н¨Á¢Ä¿Â¼ÎÞдµÄȨÏÞµÄÎÊÌâ

PHPÓÃmkdir()н¨Á¢Ä¿Â¼ÎÞдµÄȨÏÞµÄÎÊÌâ
ÔÄÀÀ´ÎÊý:
½ñ
Ìì:0 ×Üä¯ÀÀ:526
ÎÄÕÂÀ´Ô´: CPÕûÀí
Ô­ÎÄ×÷Õß:
ÕûÀíÈÕÆÚ: 2008-08-14
º¯ÊýmkdirÓÐÁ½¸ö²ÎÊý£¬Ä¿Â¼Â·¾¶ºÍ·ÃÎÊȨÏÞ
Àýmkdir('/tmp/test',0777)
È»ºóÒªµÃµ½µÄȨÏÞÂ룬²»Ò»¶¨ÊÇÉϱßÉ趨µÄ£¬µ±Ç°ÏµÍ³µÄumask½«»áÓëÉ趨µÄÖµ‘Óë’£¬ÕâÑù×Ó²ÅÊÇÕæÕýµÄȨÏÞ ......

PHP¼ÓÃܽâÃÜÄÚ²¿Ëã·¨

http://www.dedecms.com/knowledge/program/php/2009/0929/51.html
À´Ô´£ºPHP100 ×÷ÕߣºPHP100er ·¢±íÓÚ£º2009-09-29 11:05¡¡ µã»÷£º
2363
×î½üѧϰURLÌø×ªµÄʱºòнøÈý¸ö³¬ºÃÓõÄPHP¼ÓÃܽâÃܺ¯Êý,Ã²ËÆÊÇdiscuzÀïµÄʹÓÃÕâЩ¼ÓÃܽâÃܵÄÔ­ÒòÊÇÒòΪÓÐʱ×Ô¼ºµÄURLµØÖ·±»ÈË»ñÈ¡ÒÔºóÏëÆÆ½âÄãÀïÃæ´«ÖµµÄÄÚÈݾͱØÐëÖªµÀÄãµÄkey£¬ ......

php ±ý״ͼ

<?php  
    //±äÁ¿¶¨Ò壬»­ÍÖÔ²»¡Ê±µÄ½Ç¶È´óС  
    define("ANGLELENGTH",3);  
    /** 
     * »æÖÆÍ¼Æ¬ 
     * @param $title    3DͼµÄ±êÌâ 
......

php Êý¾Ý¹ý´ó ÄÚ´æÒç³ö


Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in :\Inetpub\wwwroot04\test.php on line 8
Fatal error: Out of memory (allocated 259,260,416) (tried to allocate 16 bytes) in C:\Inetpub\wwwroot04\test.php on line 8
//ini_set('memory_limit', '-1');
$inde ......

PHPµÄ°²×°ÒÔ¼°ÅäÖÃ

°²×°ÒÔ¼°ÅäÖÃ
1.       °²×°Apache-2.2.4(Apache_Dir=D:\myspace\Apache-2.2.4)
2.       ½âѹ°²×°PHP-5.2.11(PHP_Dir=D:\myspace\PHP-5.2.11)
3.       ÕÒµ½PHP-5.2.11ϵÄphp.ini-dist£¬¸ÄÃûΪphp.ini
4.  &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ