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

PHPÖÐÈ«¾Ö±äÁ¿µÄʹÓÃ

<?php
 
 
  //ÉùÃ÷È«¾Ö±äÁ¿
  $num = "ÕÅÈý";
 
  //¶¨ÒåÒ»¸ö×Ô¶¨Òå·½·¨
  function my_fun($temp1,$temp2 = "people"){
   //ÒªÊýÓ÷½·¨ÍⲿÉùÃ÷µÄÈ«¾Ö±äÁ¿,±ØÐëʹÓùؼü×ÖglobalÏÈÔÚ
   //×Ô¶¨Òå·½·¨ÖлñµÃµ½·½·¨ÍⲿÉùÃ÷µÄÈ«¾Ö±äÁ¿µÄÖµ£¬²ÅÄÜÔÚ·½
   //·¨ÄÚ²¿Ê¹ÓÃ
   global $num;
  
   echo $num.$temp1.$temp2;
  }
 
  //µ÷Ó÷½·¨
  my_fun(" is ");
 
?>


Ïà¹ØÎĵµ£º

ѸËÙѧ»áPHP¼ÓÃܽâÃܼ¼ÇÉ

Ïл°ÉÙ˵,ÏȽ«ËüÃÇ´ò°ü³ÉÒ»¸öÎļþ¾Í½Ðfun.php°É
< ?php  
function passport_encrypt($txt, $key) {  
srand((double)microtime() * 1000000);  
$encrypt_key = md5(rand(0, 32000));  
$ctr = 0;  
$tmp = ''; ......

php ÕýÔò±í´ïʽ htmlÖеĻسµ

//»Ø³µ£º[\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>");
}
} ......

PHPͼ±íÖÆ×÷¹¤¾ß¼¯

ת×Ô£º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 while Óëdo whileµÄÇø±ð

±¾½Ì³ÌÀ´½²Ò»Ï¹ØÓÚÔÚ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 ......

php ¼Ü¹¹ºÍģʽ

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 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ