PHPÖÐÈ«¾Ö±äÁ¿µÄʹÓÃ
<?php
//ÉùÃ÷È«¾Ö±äÁ¿
$num = "ÕÅÈý";
//¶¨ÒåÒ»¸ö×Ô¶¨Òå·½·¨
function my_fun($temp1,$temp2 = "people"){
//ÒªÊýÓ÷½·¨ÍⲿÉùÃ÷µÄÈ«¾Ö±äÁ¿,±ØÐëʹÓùؼü×ÖglobalÏÈÔÚ
//×Ô¶¨Òå·½·¨ÖлñµÃµ½·½·¨ÍⲿÉùÃ÷µÄÈ«¾Ö±äÁ¿µÄÖµ£¬²ÅÄÜÔÚ·½
//·¨ÄÚ²¿Ê¹ÓÃ
global $num;
echo $num.$temp1.$temp2;
}
//µ÷Ó÷½·¨
my_fun(" is ");
?>
Ïà¹ØÎĵµ£º
Ïл°ÉÙ˵,ÏȽ«ËüÃÇ´ò°ü³ÉÒ»¸öÎļþ¾Í½Ðfun.php°É
< ?php
function passport_encrypt($txt, $key) {
srand((double)microtime() * 1000000);
$encrypt_key = md5(rand(0, 32000));
$ctr = 0;
$tmp = ''; ......
//»Ø³µ£º[\n\r\t]
$reg="|typeid=\"(.*)\" onsel.*[\n\r\t]*<a href="\" mce_href="\""#\">(.*)</a>|";
preg_match_all ($reg,
$html,
$out, PREG_PATTERN_ORDER);
foreach ($out as $value){
foreach ($value as $value2){
if(strlen($value2)<20)
echo ($value2."<br>");
}
} ......
ת×Ô£ºhttp://nedvedheqing.javaeye.com/blog/383506
1. PHPÀ©Õ¹
JpGraph£ºhttp://www.aditus.nu/jpgraph/
ChartDirector£ºhttp://www.advsofteng.com/
2. JavaScript
Flot (http://code.google.com/p/flot/
) - Flot Ϊ jQuery ÌṩµÄjavascript´úÂë¿â. ÈÝÒ×ʹÓã¬ÓÐÌØÉ«µÄͼ±í£¬Ìṩ½»»¥¹¦ÄÜ(Äܹ»·Å´óËõСÊý¾ÝÇøÓòµ ......
±¾½Ì³ÌÀ´½²Ò»Ï¹ØÓÚÔÚphp±à³ÌÖг£Óõ½µÄÑ»·Óï¾ädo whileÓëwhileµÄÇø±ð°É£¬while Êǵ±Ìõ¼þΪÕæÊDzÅÖ´Ðжødo whileÖÁÉÙ»áÖ´ÐÐһϣ¬ÏÂÃæÎÒÃǾÍÀ´¿´¿´
do {
}while(Ìõ¼þ)
¿´do whileµÄʵÀý°É¡£
<?
$a =10;
do {
echo $a;
}while ($a>11)
ÕâÀï»áÊä³ö10;È»ºóÑ»·ÖÕÖ¹£¬ÄÇôÎÒÃÇÀ´¿´¿´whileµÄʵÀý°É¡£
$a=10;
w ......
1 ´úÀí£¨Proxy£©ºÍίÅÉ£¨Delegate£©µÄÇø±ð
http://hi.baidu.com/thinkinginlamp/blog/item/2297a7efcb52a31afdfa3cc2.html
2 ¿ªÐÄÅ©³¡¼Ü¹¹½éÉÜ
http://www.javaeye.com/wiki/facebook/1766-five-minutes-happy-farm-structure-introduced
http://www.w2blog.net/view/455.html
3 SmugMug µÄ¼Ü¹¹½éÉÜ
http://www.w2blo ......