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

PHPѧϰ±Ê¼Ç£¨Ê®Ììѧ»áPHP£©

Ò». 1. ǶÈë·½·¨£º »òÕß 2. Ó¦ÓÃÎļþ£º £¨1£©require("MyRequireFile.php")£º·ÅÔÚphp³ÌÐòµÄ×îÇ°Ã棬ÔÚphp³ÌÐòÖ´ÐÐÇ°ÒýÈë £¨2£©include("MyIncludeFile.php")£º·ÅÔÚÁ÷³Ì¿ØÖƵĴ¦Àí²¿·Ö£¬ÔÚÔËÐе½includeʱÔÙ¶ÁÈ¡½øÀ´ 3. ×¢ÊÍ·½·¨£º »ìºÏCºÍ»ã±à£º// £¬/* */£¬ #   4. ±äÁ¿ÀàÐÍ£º £¨1£©PHP±äÁ¿ÒÔ $ ¿ªÍ· £¨2£©PHPÓï¾äÒÔ ; ½áβ   5. ÔËËã·ûºÅ£º+£¬-£¬*£¬/ £¬ % £¬ ++£¬—£¬ . > ,=,


Ïà¹ØÎĵµ£º

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£©²úÆ·Ö®Ò ......

php »ñµÃ ¾«È· ʱ¼ä ÓÐÒâ˼¡«£¡£¡¡«¡«£¡

/**
*
* @param <type> $format
* @param <type> $utimestamp
* @return <type>
* @example
*
* echo udate('H:i:s.u'); 19:31:28.7812
*
* echo udate('H:i:s.uuuu'); 19:31:28.78127781277812778127
*
* echo udate('Y-M-D H:i:s.u'); ......

PHPÖг£ÓõÄ×Ö·û´®º¯Êý

¡¡PHPÖеÄ×Ö·û´®²Ù×÷¹¦ÄÜÊDZȽ϶àµÄ,ÖØÒªµÄÓÐÒÔÏÂÕâЩ:
¡¡¡¡(1)echo,print,printf,sprintf
¡¡¡¡Ç°Á½¸öº¯ÊýÊÇÊä³ö×Ö·û´®.×Ö·û´®ÖÐÈç¹ûÓбäÁ¿ÃûÔò±»Ìæ»»³ÉÆäÖµ. ºóÁ½¸öº¯ÊýÀàËÆÓÚCµÄͬÃûº¯Êý.
¡¡¡¡(2)strchr,strlen,strtok,strrchr,strrev,strstr,strtolower, strtoupper,substr,ucfirst
¡¡¡¡ÕâЩÊdz£ÓõÄ×Ö·û´®²Ù×÷º¯Êý, ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ