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

ʵÏÖphp¹¤³§Ä£Ê½µÄ¼¸¸ö¹Ø¼üº¯Êý

ÃæÏò¶ÔÏó±à³ÌµÄ·½·¨ÖУ¬ÎªÁËʵÏÖ¶ÔÏó¼äµÄËÉñîºÏ£¬ÆäÖÐÒ»ÖÖ¼òµ¥µÄÔ­Ôò¾ÍÊǽ«Ó¦ÓòßÂÔÓ빦ÄÜʵÏÖ·ÖÀë¡£³£³£Óõ½µÄÉè¼ÆģʽÓÐfactory¡¢facadeµÈ£¬¶øµ±ÖеĺËÐıà³Ì¼¼Êõ¾ÍÊÇcallback¼¼Êõ¡£
Ëùνcallback¼¼Êõ£¬¼òµ¥µÄ˵¾ÍÊǽ«º¯ÊýµÄ×÷Ϊһ¸ö²ÎÊý´«µÝ¸øÁíÍâÒ»¸öº¯Êý£¬²¢±»¸Ãº¯ÊýËùµ÷Óá£
phpÏ£¬ÊµÏÖ¹¤³§Ä£Ê½µÄÓÐһϡ£¼¸¸ö¹Ø¼üº¯Êý
mixed call_user_method_array     ( string $method_name    , object &$obj    , array $paramarr    )´ÓÓû§¶¨ÒåµÄ obj ¶ÔÏóÖе÷Óàmethod_name ËùÖ¸µÄ·½·¨£¬Í¬Ê±Ê¹Óàparamarr ÖеIJÎÊý¡£
mixed call_user_method ( string method_name, object &obj  [, mixed parameter [, mixed ...]] )ÀàËÆcall_user_method_array,
mixed call_user_func_array ( string $callback_function, array  param_arr )´Óµ÷ÓÃcallback_function£¬²¢Ê¹ÓÃparam_arrÖеIJÎÊý
mixed call_user_func ( callback function [, mixed  parameter [, mixed ...]] )µÚÒ»¸ö²ÎÊýÖ¸¶¨Á˵÷Óõĺ¯ÊýÃû£¬ºóÃæÊDz»ÏÞ¸öÊý£¬²»ÏÞ¸ñʽµÄ²ÎÊý¶ÓÁС£
call_user_func_array Óëcall_user_funcÊÇÁ½Õß²»Í¬µÄÊéдϰ¹ß¡£
ÆäÖÐͨ¹ý¸Ä±äcall_user_funcµÄ²ÎÊý£¬»ù±¾ÉÏ¿ÉÒÔÓ¦¸¶¸÷ÖÖÐèÇóÁË¡£
// Type 1: Simple callback
call_user_func(‘my_callback_function’);// Type 2: Static class method call
call_user_func(array(‘MyClass’, ‘myCallbackMethod’));
// Type 3: Object method call
$obj = new MyClass();
call_user_func(array($obj, ‘myCallbackMethod’));
»¹ÓÐһЩ¸¨ÖúµÄº¯Êý
     class_exists — 檢²é類別ÊÇ·ñÒÑ經¶¨義
     get_class_methods — 傳»Ø類別Öз½·¨µÄÃû稱
     get_class_vars — 傳»Ø類別預設µÄ屬ÐÔ
     get_class — 傳»ØÎï¼þµÄ類別Ãû稱
     get_declared_classes — 傳»Ø聲Ã÷µÄ類別µÄÃû稱
&nbs


Ïà¹ØÎĵµ£º

PHP²Ù×÷AccessÊý¾Ý¿â

9.3  ͨ¹ýPHP²Ù×÷AccessÊý¾Ý¿â
9.3.1  Á¬½ÓAccessÊý¾Ý¿â
ÔÚPHPÖÐÁ¬½ÓAccessÓÐÈçÏÂ3ÖÖ·½Ê½¡£
£¨1£©´´½¨ÏµÍ³Êý¾ÝÔ´£¬ÓÃPHPÌṩµÄODBCº¯Êý
¼´¿É¡£
£¨2£©Í¬Ñù¿ÉÒÔʹÓÃPHPµÄODBCº¯Êý£¬µ«²»´´½¨
Êý¾ÝÔ´¡£¿ª·ÅÊý¾Ý¿âÁ¬½Ó£¨Open DateBase
Conection£¬ODBC£©ÊÇWindows Open
Server£¨¿ª·Å·þÎñ£©API£¨WOSA£©²úÆ·Ö®Ò ......

flex Óë php ÔÚÏßÉú³ÉÎÄ×ÖͼƬµÄÒ»¸ö¼òµ¥¿ò¼Ü

ÒòΪ×î½ü×öÒ»¸öDIYµÄÉè¼ÆÆ÷£¬ÐèÒªÈÃÓû§Ñ¡Ôñij¸ö×ÖÌ壬²¢ÇÒÖ§³ÖÐýת£¬ÍÏÀ­µÈ²Ù×÷¡£Ö±½ÓʹÓÃÎı¾¿òÊDz»Ðеģ¬ÒòΪflex²»Ö§³Ö×ÖÌåµÄÖ±½ÓÐýת£¬´ó¼Ò¿ÉÒÔ³¢ÊÔһϣ¬Èç¹ûÑ¡ÔñÁËtext¿Ø¼þ£¬ÎÄ×־Ϳ´²»µ½ÁË£¬Óиö°ì·¨ÊÇ°ÑÎÄ×ÖembedǶÈëµ½swfÖÐÈ¥£¬ÕâÑù¾ÍÖ§³ÖÁË¡£
µ«ÊÇÓ¢ÎÄ»¹ºÃ£¬×ÖÌåÎļþ²»´ó£¬ÖÐÎĵĻ°¶¯éü¼¸¸öM£¬Õâ¸ö×ö·¨ºÜ²»ÏÖʵ ......

php·Ö¸îº¯ÊýµÄʹÓÃ

<?php
$HotSong="°®ÇéתÒÆ|¾Õ»¨Ì¨|Àë¸è|ÔÂÁÁÖ®ÉÏ|ÒþÐεijá°ò|Öйú»°|Çó·ð|ÇïÌì²»»ØÀ´|·¢ÏÖ°®|ÄѵÀ°®Ò»¸öÈËÓдíÂð|ǧÀïÖ®Íâ|Á¬¿Þ¶¼ÊÇÎҵĴí";
function HotSo($HotSong){
$HotSo='';
echo($HotSong);
$b=explode('|',$HotSong);
foreach ($b as $v) {
$HotSo.="<a href="song.php?song=".urlencode($v)."" mce_ ......

PHPÖ®smarty

smarty×÷ΪPHPµÄÄ£°å£¬ÊµÏÖÁËǰ̨ÃÀ¹¤Óëºǫ́Âß¼­µÄ·ÖÀ롣ǰһ¶Îʱ¼ä¼òµ¥µØѧÁËһϣ¬°ÑÆä°²×°ÓÚÅäÖÃÒÔ¼°ÄÚ²¿µÄÓï·¨À´¼òµ¥×ܽáһϡ£È»ºóÒªÉè¼Æһϵç×ÓÉÌÎñϵͳ¡£
smartyѹËõ°ü½âѹºó£¬ÔÚlibsÎļþ¼ÐÏ£¬ÓÐ2¸öĿ¼ºÍ4¸öÎļþ£¬2¸öÎļþ¼Ð·Ö±ðÊÇinternalsºÍplugins£¬4¸öÎļþÒÀ´ÎÊÇdebug,smarty.class,config_file.class,smarty ......

9.3 ͨ¹ýPHP²Ù×÷AccessÊý¾Ý¿â

9.3  ͨ¹ýPHP²Ù×÷AccessÊý¾Ý¿â
9.3.1  Á¬½ÓAccessÊý¾Ý¿â
ÔÚPHPÖÐÁ¬½ÓAccessÓÐÈçÏÂ3ÖÖ·½Ê½¡£
£¨1£©´´½¨ÏµÍ³Êý¾ÝÔ´£¬ÓÃPHPÌṩµÄODBCº¯Êý
¼´¿É¡£
£¨2£©Í¬Ñù¿ÉÒÔʹÓÃPHPµÄODBCº¯Êý£¬µ«²»´´½¨
Êý¾ÝÔ´¡£¿ª·ÅÊý¾Ý¿âÁ¬½Ó£¨Open DateBase
Conection£¬ODBC£©ÊÇWindows Open
Server£¨¿ª·Å·þÎñ£©API£¨WOSA£©²úÆ·Ö®Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ