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

Ä£°åÒýÇæ PHPÄ£°åÒýÇ桾smarty¡¿

[Smarty - ¹Ù·½ÍøÕ¾]
http://smarty.php.net/
[Smarty - ÏÂÔصØÖ·]
µ±Ç°°æ±¾ 2.6.18, http://smarty.php.net/do_download.php?download_file=Smarty-2.6.18.tar.gz

È«²¿Áбí, http://smarty.php.net/download.php

[Smarty - Ïà¹ØÂÛ̳]
http://php.board.newsmth.net/
http://forum.csdn.net/SList/PHP/
http://www.phpinsider.com/smarty-forum/
http://news.php.net/php.smarty.general
http://news.php.net/php.smarty.dev
http://news.php.net/php.smarty.cvs
[Smarty - ¹Ø¼ü´Ê]
smarty
[Smarty - ManualÊÖ²á]
½èÖúcycleʵÏÖÑ­»·Êä³öÖµ, http://smarty.php.net/manual/en/language.function.cycle.php

SmartyµÄcatº¯Êý, http://smarty.php.net/manual/en/language.modifier.cat.php

SmartyµÄupperº¯Êý, http://smarty.php.net/manual/en/language.modifier.upper.php

[Smarty - ManualÊÖ²á - µÚ3Õ »ù´¡Óï·¨]
Comments×¢ÊÍ, http://smarty.php.net/manual/en/language.basic.syntax.php#language.syntax.comments
MathÊýѧÔËËã, http://smarty.php.net/manual/en/language.math.php
[Smarty - ManualÊÖ²á - Chapter 5. Variable ModifiersµÚ5Õ ±äÁ¿ÐÞÊηû]
cat½«ÖµÁ¬½Óµ½¸ø¶¨±äÁ¿Ö®ºó, http://smarty.php.net/manual/en/language.modifier.cat.php

upper½«×Ö·û´®×ª»»³É´óд×Öĸ, http://smarty.php.net/manual/en/language.modifier.upper.php
escapeתÒåÐÞÊηû, http://smarty.php.net/manual/en/language.modifier.escape.php
[Smarty - ManualÊÖ²á - Chapter 7. Built-in FunctionsÄÚ½¨º¯Êý]
{foreach},{foreachelse}, http://smarty.php.net/manual/en/language.function.foreach.php
{strip}ÔÚÏÔʾ֮ǰɾ³ýÿÐÐÇ°ºó¶àÓàµÄ¿Õ¸ñºÍ»Ø³µ×Ö·û, http://smarty.php.net/manual/en/language.function.strip.php

[Smarty - ManualÊÖ²á - Chapter 8. Custom FunctionsµÚ8Õ ×Ô¶¨Ò庯Êý]
{assign}ÓÃÓÚÔÚÄ£°åÖ´Ðйý³ÌÖÐÉèÖÃÄ£°å±äÁ¿, http://smarty.php.net/manual/en/language.custom.functions.php#language.function.assign
{counter}¼ÆÊýÆ÷, http://smarty.php.net/manual/en/language.custom.functions.php
[Smarty - ManualÊÖ²á - µÚ13Õ SmartyÀà·½·¨]
register_function()¶¯Ì¬×¢²áÄ£°åº¯Êý²å¼


Ïà¹ØÎĵµ£º

phpѧϰ±Ê¼Ç£¨6£©:PHPÑ­»·Óï¾äµÄ½éÉÜÓëÓ¦ÓÃ

PHPÑ­»·Óï¾äµÄ½éÉÜÓëÓ¦ÓÃ
1¡¢break n Ñ­»·¿ØÖÆÓï¾ä
Break Ìø³öÒ»²ã£¨±¾´Î£©Ñ­»·;break n Ìø³ön²ãÑ­»·;
2.Continue:continue ÔÚÑ­»·½á¹¹ÓÃÓÃÀ´Ìø¹ý±¾´ÎÑ­»·ÖÐÊ£ÓàµÄ´úÂë²¢ÔÚÌõ¼þÇóֵΪÕæʱ¿ªÊ¼Ö´ÐÐÏÂÒ»´ÎÑ­»·¡£×¢:×¢ÒâÔÚ PHP ÖРswitch Óï¾ä±»ÈÏΪÊÇ¿ÉÒÔʹÓàcon ......

PHP Log Class

ob_start();
echo "<pre>";
print_r($content);
echo "</pre>";
$a=ob_get_contents();
$filename = $_SERVER['DOCUMENT_ROOT']."/log-".date("Y-m-d").".txt";
$file = fopen($filename, "a");
$tipmsg = "\r\n******Final File: "
//.end(explode('/',$_SERVER['PHP_SELF']))
.$_SERV ......

phpѧϰ±Ê¼Ç£¨8£©:PHPº¯ÊýºÍ×Ô¶¨Ò庯Êý


1¡¢PHPº¯Êý½éÉÜ
PHPº¯Êý·ÖΪ£ºÏµÍ³ÄÚ²¿º¯Êý ºÍ ×Ô¶¨Ò庯Êý 
¸ñʽ£ºFunction($a1,$s2....){};
Àý×Ó£ºdate("Y-m-d");
          Md5("CHAUVET");
º¯ÊýµÄÓÅÔ½ÐÔ£º
A)¿ØÖƳÌÐòÉè¼ÆµÄ¸´ÔÓÐÔ
B)Ìá¸ßÈí¼þµÄ¿É¿¿ÐÔ
C)Ìá¸ßÈí¼þ¿ª·¢Ð§ÂÊ
D)Ìá¸ßÈí¼þµÄ¿É ......

php arrayһЩº¯Êý

ÎÒÃÇÊÖÍ·µÄPHP×ÊÁϲ»¶à£¬´ó¼ÒÊDz»ÊǶ¼ÓÐÒ»·Ýphp4gb.chm¡£ÎÒ×îÐÀÉÍËüÀïÃæµÄº¯Êý¿â²¿·ÖÁË£¬ÕæÕýµÄÔÚÏß°ïÖú¡£µ«ÊÇPHP·¢Õ¹µÄ½Å²½ÊµÔÚÌ«¿ìÁË£¬Äãî¡£¬ÎÒ×î½üÔÚwww.php.net/manual/¡¡ÓÖÕÒµ½ÁËһЩÀ©Õ¹µÄÊý×麯Êý¡£
ÏÂÃæÎÒ°ÑËüÃǽéÉܸø´ó¼Ò°É£¬ÎÒµÄÓ¢ÎÄˮƽ²»¸ß£¬ÓÐÒëµÄ²»¶ÔµÄµØ·½£¬ÇëÖ¸Õý¡£
¸ñʽÊÇÕâÑùµÄ£º
º¯ÊýÃû Ö§³Ö°æ±¾ ......

PHP Óë JS µÄÁíÒ»ÖÖÊý¾Ý´«µÝ·½Ê½ ÐòÁл¯

¡¡¡¡´Ó PHP 3 ¿ªÊ¼Îª±£´æ¶ÔÏóÌṩÁËÒ»×éÐòÁл¯ºÍ·´ÐòÁл¯µÄº¯Êý£ºserialize¡¢unserialize£¬Ëü¿ÉÒÔ·½±ãµÄ±£´æÊý¾Ý·½±ãµÄ×ö³ÉCACHE£¬¶ø´æ´¢Ìå»ýÒ²±ÈXMLҪСµÄ¶à£¬Ëü½á¹¹Óë JS µÄ JSON ÏàÄ⣬ÍøÉÏÓÐÒ»×éÓà JS Ä£Äâ serialize ʵÏֵķ½·¨£¬Ê¹ÓÃËü¿ÉÒÔºÍPHP ÔÚÊý¾Ý´«µÝÉϸü½ôÃܵĽáºÏ£®
 
¡¡¡¡JavaScript °æ±¾£¨stable£©£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ