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

PHPºÃѧÂð£¿

          ´ó¼ÒºÃ£¬Çë½ÌÒ»¸öÎÊÌ⣬Âé·³ÓÐÀàËƾ­ÑéµÄ°ï°ï棬лл¸÷λÁË!
         ±¾ÈËÒÔǰѧ¹ýÁ½ÄêµÄ.NET,ÓÃC#£¬ASP.NET£¬Winfrom,SQLServer×ö¹ý¼¸¸öÍøÕ¾ºÍСÐ͵ĹÜÀíϵͳ¡£
ÏÖÔÚµ½Ò»¼Òй«Ë¾£¬ÒªÇóÎÒѧPHP¡£Âé·³¸ßÊÖÖ¸µãһϣ¬PHPºÃѧÂð£¿ÏñÎÒÕâÖÖÇé¿öÓбØҪȥѧÂð£¿Èç¹ûѧ£¬
¸ÃÔõôȥѧ£¬³ýÁËPHPÊÖ²áÍ⻹ÓÐʲôÆäËûºÃµÄѧϰ×ÊÁÏ.........


Ïà¹ØÎĵµ£º

PHPÄ£°åÒýÇæSmarty»º´æÓ¦ÓÃ

1£ºsmarty »º´æµÄÅäÖÃ
      
Php´úÂë
$smarty->cache_dir = "/caches/"; //»º´æĿ¼
$smarty->caching = true; //¿ªÆô»º´æ,ΪflaseµÄʱºî»º´æÎÞЧ
$smarty->cache_lifetime = 60; //»º´æʱ¼ä
2:smarty»º´æµÄʹÓúÍÇå³ý
   
Php´úÂë
$smarty->di ......

PHP½«È«½Ç¿Õ¸ñת³É°ë½Ç£¬ ²¢È¥³ýͷβ¿Õ¸ñ

<?php
/* ×ÖÌåת»»
$content ÄÚÈÝ
$to_encoding Ä¿±ê±àÂ룬ĬÈÏΪUTF-8
$from_encoding Ô´±àÂ룬ĬÈÏΪGBK
*/
function mbStrreplace($content,$to_encoding="UTF-8",$from_encoding="GBK") {
$content=mb_convert_encoding($content,$to_encoding,$from_encodin ......

PHPÀ©Õ¹C++


Õâ¸öÎĵµ¼òµ¥½éÉÜÁËÔõôʹÓÃC++ΪPHP±àдһ¸öÀ©Õ¹Ä£¿é¡£ÎÒÒѾ­±»Îʼ°Õâ¸öÎÊÌâÎÞÊý´ÎÁË£¬ËùÒÔÎÒ¾ö¶¨ÎªºóÀ´Õßдһ¸ö¼òµ¥µÄHOWTO¡£ÕâƪÎÄÕÂÖ»»á˵Ã÷һЩҪµãºÍ¹Ø¼üÖ®´¦£¬Èç¹ûÄãÏ£ÍûѧϰC++»òPHP£¬Çë²éÔÄÆäËüµÄÎĵµ¡£
˳±ã£¬ÔÚ±¾ÎÄÖÐÎÒÃÇÒ²»á¿´Ò»ÏÂÔÚPHP5ÖÐÔõô°ÑC++ÀàÓ°Éäµ½PHPÖС£ÎÄÕÂÖеÄÀý×Ó¿ÉÒÔÔÚPHP4ºÍPHP5µÄ»·¾³ÏÂÊ¹Ó ......

JSP/PHPÔËÓÃÏê½â

1£¬DateTimeÀàÐÍÊý×Ö 
ÒÔÏÂÊÇÒýÓÃƬ¶Î£º 
µ±Ç°Ê±¼äSystem.DateTimeµÄ=ÐÂSystem.DateTimeµÄ£¨£©; 
1.1Сʱ·ÖÖÓµ±Ç°ÈÕÆÚÃ룬µ±Ç°Ê±¼ä= System.DateTime.Now; 
1.2¼ì²é±¾Äê¶ÈÁ®ÕþÄê= currentTime.Year; 
1.3µ±Ç°Ô·ÝÁ®Õþ¸öÔÂ= currentTime.Month; 
1,4²ÉÈ¡µ±ÌìÁ®ÕþÌì= currentTime.Day;&n ......

phpͨÓüì²âº¯Êý¼¯

ÍøÉÏÕÒµ½µÄ£º¹²ÏíÒ»ÏÂ
<?
//¡¾¾¯¸æ¡¿:δ¾­Ðí¿ÉÇëÎðËæ±ãÐÞ¸Ä
//-----------------------------------------------------------------------------------
-------
//-----------------------------------------------------------------------------------
-------
//
// ¡¾ÎļþÃû¡¿: c_check.inc
// ¡¾× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ