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

PHP×Ö·û´®¾­µäº¯Êý

<?    
//------------------------    
// PHPÄÚÖÃ×Ö·û´®º¯ÊýʵÏÖ     
//------------------------    
   
//×Ö·û´®³¤¶È    
function strlen ($str)    
{    
        if ($str == '' ) return 0;    
        $count =  0;    
        while (1){    
                if ( $str[$count] != NULL){    
                         $count++;    
                        continue;    
                }else{    
                        break;    
                }    
        }    
        return $count;    
}    
   
//½ØÈ¡×Ó´®    
function substr($str, $start,  $length=NULL)    
{    
        if ($str== '' || $start>strlen($str )) return;    
    &


Ïà¹ØÎĵµ£º

¹úÄÚPHP¿ªÔ´½¨Õ¾³ÌÐòÒ»ÀÀ ÄÏÈý·½

×î½ü¸ø¹«Ë¾×öÒ»¸ö¼òµ¥µÄÍøÉÏÏîÄ¿£¬ÓÚÊÇÏëµ½ÁËÓÿªÔ´µÄ³ÌÐò£¬ËÑÁËһϣ¬¸Ð¾õͦÓÐÓõģ¬¾Í·¢ÉÏÀ´ÁË¡£
¹úÄÚPHP¿ªÔ´½¨Õ¾³ÌÐòÒ»ÀÀ
¹úÍâµÄ¿ªÔ´¼¼ÊõÒ²Ó°ÏìºÍÍƶ¯Á˹úÄÚ¿ªÔ´³ÌÐòµÄ·¢Õ¹£¬ÉÏÎÄÎÒ½éÉܵġ¶¹úÍâÓÅÐ㿪ԴPHP½¨Õ¾³ÌÐòÒ»ÀÀ¡· ÖУ¬ºÜ¶à¹úÍ⿪Դ³ÌÐò²¢²»Ì«·ûºÏÖйúÈ˵ÄʹÓÃÏ°¹ß£¬¶ø¹úÄÚÓÐһЩ³§¼Ò»ò¸öÈËÒ²×öÁËһЩ²»´íµÄ²úÆ ......

PHPÉú³ÉwordÎĵµ

<?PHP
$word = new COM("word.application") or die("Can't start Word!");
// print the version of Word that's now in use
echo "Loading Word, v. {$word->Version}";
// set the visibility of the application to 0 (false)
// to open the application in the forefront, use 1 (true)
$word->Visibl ......

һЩ±»ºöÊ PHP º¯Êý£¨ÕûÀí£©

ÕæµÄÊDz»Óò»ÖªµÀ£¬ÆäʵÎÒÃÇÊìϤµÄ PHP »¹ÓкܶàºÃ¶«Î÷ûÓз¢¾ò¡£¿´
µ½ÕâƪÎÄÕÂ
£¬µ±Ê±¾ÍÀá±¼Á˺ü¸»Ø£¬ÖصãÍƼöÏ£¬Ë³±ãÎÒ×Ô¼ºÒ²×ö¸öÕûÀí¡£
sys_getloadavg()
Õâ¸öº¯Êý
·µ»Øµ±Ç°ÏµÍ³µÄ¸ºÔؾùÖµÐÅÏ¢
£¨µ±È» Windows
ϲ»ÊÊÓã©£¬ÏêϸÎĵµ¿ÉÒÔ·­ÔÄ PHP µÄÏà¹ØÎĵµ¡£ÎĵµÖÐÓжÎʾÀý´úÂ룬»ù±¾ÉÏÒ²¾ÍÄÜ¿´³öËüµÄÓÃ;ÁË¡ ......

ʹÓà CodeIgniter ¿ò¼Ü¿ìËÙ¿ª·¢ PHP Ó¦ÓÃ(Èý)

·ÖÎöÍøÕ¾½á¹¹
¼ÈÈ»ÎÒÃÇÒѾ­°²×° CI £¬ÎÒÃÇ¿ªÊ¼Á˽âËüÈçºÎ¹¤×÷¡£
¶ÁÕßÒѾ­ÖªµÀ CI ʵÏÖÁËMVCʽÑù¡£ ͨ¹ý¶ÔĿ¼ºÍÎļþµÄÄÚÈݽøÐзÖÀà, ¶ø²»ÊÇÈôúÂë´ó¿é´ó¿éµØ¾À¼¯ÔÚÒ»Æð¡£
ÕâÒ»Õ£¬ÎÒÃǽ«»á¶Ô MVC ÀíÂÛ×ö¸ö¼ò¶ÌµÄ½éÉÜ, È»ºóÔÙ½éÉÜ CI µÄMVCʵÏÖ·½Ê½¡£ÌرðµØ£¬ÒªÁ˽âÄÇЩĿ¼ºÍÎļþÈçºÎ»¥Ïཻ»»ÐÅÏ¢£¿ÍøÕ¾½á¹¹ÊÇÔõÑùµÄ£¿ÒÔ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ