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

phpÖмÆËãʱ¼ä²îµÄ¼¸ÖÖ·½·¨

ÔÚphpÖмÆËãʱ¼ä²îÓÐʱºòÊǼþÂé·³µÄÊÂ!²»¹ýÖ»ÒªÄãÕÆÎÕÁËÈÕÆÚʱ¼äº¯ÊýµÄÓ÷¨ÄÇÕâЩҲ¾Í±äµÄ¼òµ¥ÁË:  
Ò»¸ö¼òµ¥µÄÀý×Ó¾ÍÊǼÆËã½èÊéµÄÌìÊý,ÕâÐèÒªphp¸ù¾ÝÿÌìµÄÈÕÆÚ½øÐмÆËã,ÏÂÃæ¾ÍÀ´Ì¸Ì¸ÊµÏÖÕâÖÖÈÕÆÚ¼ÆËãµÄ¼¸ÖÖ·½·¨:
(1) Èç¹ûÓÐÊý¾Ý¿â¾ÍºÜÈÝÒ×ÁË!ÈôÊÇMSSQL¿ÉÒÔʹÓô¥·¢Æ÷!ÓÃרÃżÆËãÈÕÆÚ²îµÄº¯Êýdatediff()±ã¿É!  
  ÈôÊÇMYSQLÄǾÍÓÃÁ½¸öÈÕÆÚ×ֶεIJîÖµ¼ÆËãµÄ¼ÆËã½á¹û±£´æÔÚÁíÒ»¸öÊýÖµÐÍ×Ö¶ÎÖÐ!ÓÃʱµ÷Óñã¿É!
(2)Èç¹ûûÓÐÊý¾Ý¿â,ÄǾ͵ÃÍêÈ«ÓÃphpµÄʱ¼äÈÕÆÚº¯Êý!ÏÂÃæÖ÷Ҫ˵Ã÷Ö®:  
  Àý:¼ÆËã1998Äê5ÔÂ3ÈÕµ½1999-6-5µÄÌìÊý:  
<? $startdate=mktime("0","0","0","5","3","1998");
   $enddate=mktime("0","0","0","6","5","1999");
   //ËùµÃµ½µÄֵΪ´Ó1970-1-1µ½²ÎÊýʱ¼äµÄ×ÜÃëÊý:ÊÇÕûÊý.ÄÇô 
   //ÏÂÃæµÄ´úÂë¾ÍºÃ±à¶àÁË:
  $days=round(($enddate-$startdate)/3600/24) ;
  echo $days;
  //daysΪµÃµ½µÄÌìÊý;
  Èômktime()ÖеIJÎÊýȱʡ,ÄDZíʾʹÓõ±Ç°ÈÕÆÚ,ÕâÑù±ã¿É¼ÆËã´Ó½èÊéÈÕÆÚÖÁ½ñµÄÌìÊý.    
  ¿É±ðÍüÁ˵½ÆÚ»¹ÊéÓ´!¹ýÆÚ¿ÉÊÇÒª·£¿îµÄ!! @_@


Ïà¹ØÎĵµ£º

³ÏÕУºPHP³ÌÐòÔ±£¨º¼ÖÝ£©


¾ßÌåÒªÇó£º
1¡¢Ñ§Àú²»ÏÞ£¬¾ßÓÐ1ÄêÒÔÉÏPHP¿ª·¢¾­Ñ飬ÓдóÐÍÍøÕ¾¹¤×÷¾­Ñ飻
2¡¢ÊìϤ mysql£¬°üÀ¨Êý¾Ý¿âÉè¼Æ,ËÙ¶ÈÓÅ»¯£»
3¡¢ÊìϤJavaScript£¬XML£¬ajax£¬¾«Í¨Div+CSS£»
4¡¢¶Ô»¥ÁªÍøµÄ¼¼ÊõÓнÏÈ«ÃæÀí½â£¬ÄܶÀÁ¢Ó¦¸¶´ó·ÃÎÊÁ¿ÏÂÍøÕ¾µÄÉè¼ÆºÍ¿ª·¢¹¤×÷£»
5¡¢¾ßÓÐPHP»º´æ¼¼Êõ¡¢¾²Ì¬»¯Éè¼Æ·½ÃæµÄ¾­Ñ飬Äܹ»¶ÀÁ¢¿ª·¢ºǫ́£»
6 ......

php¶ÔÎļþ¼ÐµÄ²Ù×÷ ´´½¨Îļþ¼Ð

//´´½¨Îļþ¼Ð
function createdir($dir){
$edir = explode('/',$dir);
for($i=0;$i<count($edir);$i++)
{
$edirm = $edir[0];
for($ii=1;$ii<=$i;$ii++)
{
$edirm = $edirm.'/'.$edir[$ii];
}
if(file_exists($edirm) && is_dir($edirm))
{}
else
{
@mkdir ($edir ......

Ϊʲô΢²©¿Íϵͳ¶¼ÊÇÓõÄphp×öµÄ

Ϊʲô΢²©¿Íϵͳ¶¼ÊÇÓõÄphp×öµÄ
Ò»:phpÓÐһϵÁкܼòµ¥¸ßЧµÄÔ­ÉúÄ£°åÖ§³Öº¯Êý.²©¿Íϵͳһ°ãÇé¿ö϶¼ÐèÒªÓõ½Ä£°å.¶øphpµÄÄ£°åÖ§³ÖÄÜÁ¦,¿ÉÒÔÓÐЧ½µµÍÍøվģ°åµÄ¿ª·¢.
¶þ:ͬʱphpµÄÕâһЩÁÐÖ§³Öº¯Êý¶¼ÊÇÔ­ÉúÖ§³Ö,²¢·ÇÍâ¹ÒÖ§³Ö,¸ü²»ÐèҪģ°å¿ª·¢ÈËԱרÃÅ¿ª·¢Ò»Ì׽ű¾¼¶µÄ´¦Àí·½·¨.phpµÄÕâЩ֧³Ö¶¼ÊÇcÓïÑÔ¼¶µÄÖ§³Ö.ÔËÐÐËÙ¶È ......

PHP¿ª·¢»·¾³´î½¨


 
 
1.´ò¿ªÎҵĵçÄÔ£¬½øÈëDÅÌ£¬ÔÚÆäÏÂн¨Ò»¸öÎļþ¼Ð£¬ÃûΪ local ¡£
2.µ½Æä¹Ù·½Õ¾µãÏÂÔØ apache_2.2.4-win32-x86-no_ssl.msi ²¢Ö´ÐС£
3.°´3´ÎNext°´Å¥£¬°²×°³ÌÐòÒªÇóÊäÈëÄãµÄNetwork Domain£¨ÍøÂçÓòÃû£©¡¢Server Domain£¨·þÎñÆ÷ÓòÃû£©ºÍÍøÕ¾¹ÜÀíÔ±µÄE-mail£¬ÓеĻ°¾ÍÈçʵÌîд£¬±¾ËµÃ÷½éÉܵÄÊDZ¾µØ×Ô½¨²âÊ ......

phpʵÏÖCMSϵͳ¸öÈËÐĵÃ

    ×î½ü°ïʵÑéÊÒÍêÉÆÒ»¸öCMSϵͳ£¬ÏÖÔÚÒѾ­½øÈëβÉù£¬½è´Ë»ú»á¼òÒª¼Ç¼һÏÂʵÏÖµÄϸ½Ú£¬ÒÔ±¸ËùÐè¡£
±¾ÏµÍ³ÊǸö´¿´âµÄÔÚÏßÄÚÈݹÜÀíϵͳ£¬×îÖ÷ÒªµÄ²Ù×÷¾ÍÊÇÏòÊý¾Ý¿âÖÐÌí¼Ó¡¢Ð޸ĺÍɾ³ýÊý¾Ý£¬Ó¦¸Ã˵ʵÏÖÆðÀ´ºÜ¼òµ¥£¬²»¹ýÕýÊÇÒòΪ¼òµ¥£¬Ê¹µÃÔ­ÓÐϵͳÏԵúÜÄÑά»¤£¬¼òµ¥ÀàËƵIJÙ×÷ÓÐ20¶à¸ö²»Í¬µÄÒ³Ã棬ÿ¸öÒ³Ãæ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ