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

PHP±éÀú¶àάÊý×麯Êý

function handleEach(&$array,$functionName)
{
foreach($array as $k=>$v)
{
if(is_array($v))
{
handleEach(&$array[$k],$functionName);
}
else
$array[$k] = $functionName($v);
return $array[$k];
}
}


Ïà¹ØÎĵµ£º

PHP²¿·Ö³£¼ûËã·¨


//1. Óû§ÃÜÂëÁùλÊý,²»ÄÜ´óÓÚÁùλ¶ø²»ÄÜСÓÚÁùÊý,Êý×ÖÖµÕýÔòΪ[0-9],ÇëÓÃPHPд³öÓм¸ÖÖ¿ÉÄÜÐÔ,²¢×ö±©Á¦Æƽâ;
function dePassword($pwd) {
$tmp = array('000000', '555555', '999999');
for ($i = 0; $i < 3; $i++) {
if ($pwd == $tmp[$i]) return $tmp[$i];
}
return $pwd < $tmp[1] ? getPwd(0, $pwd ......

PHP»ù±¾Óï·¨£¨Ò»£©—— ±äÁ¿

1 ¿ªÊ¼Ð´PHP³ÌÐò
¸úѧC/C++¡¢javaÒ»Ñù£¬ÎÒÃÇÏÈ´Óhello world¿ªÊ¼£º
PHP µÄ½Å±¾¿éÒÔ <?php ¿ªÊ¼£¬ÒÔ ?> ½áÊø¡£Äú¿ÉÒÔ°Ñ PHP µÄ½Å±¾¿é·ÅÖÃÔÚhtmlÎĵµÖеÄÈκÎλÖᣵ±È»£¬ÔÚÖ§³Ö¼òдµÄ·þÎñÆ÷ÉÏ£¬Äú¿ÉÒÔʹÓà <? ºÍ ?> À´¿ªÊ¼ºÍ½áÊø½Å±¾¿é¡£²»¹ý£¬ÎªÁË´ïµ½×îºÃµÄ¼æÈÝÐÔ£¬ÎÒÃÇÍƼöÄúʹÓñê×¼ÐÎʽ£¨ <?php£© £¬¶ ......

PHP¸ß¼¶Óï·¨£¨Ò»£©—— Îļþ´¦Àí


PHP
Îļþ´¦Àí
fopen()
º¯ÊýÓÃÓÚÔÚ
PHP
Öдò¿ªÎļþ¡£
´ò¿ªÎļþ
fopen()
º¯ÊýÓÃÓÚÔÚ
PHP
Öдò¿ªÎļþ¡£
´Ëº¯ÊýµÄµÚÒ»¸ö²ÎÊýº¬ÓÐÒª´ò¿ªµÄÎļþµÄÃû³Æ£¬µÚ¶þ¸ö²ÎÊý¹æ¶¨ÁËʹÓÃÄÄÖÖģʽÀ´´ò¿ªÎļþ£º
<html>
<body>
 
<?php
$file=fopen("welcome.txt","r");
?> ......

¡¾×ª¡¿PHP & Web Service[³õ¼¶]

Ç°ÑÔ
¡¡¡¡
¡¡¡¡·Ï»°²»¶à˵£¬WebServiceÕâ¸öÈÈ°¡£¬PHPÕâ¸ö»ð°¡£¬ÏëÓÃPHP¿ª·¢WebServiceÊÇÀíËùµ±È»µÄÊ¡£Ê²Ã´£¿²»¶®WebService£¿Ã»Ê£¬°Ù¶ÈһϾÍÖªµÀÁË¡£°¡£¿¿´²»¶®£¿²»¶®Ò²Ã»¹Øϵ£¬Ö±½Ó¿´´óÉÙүдµÄ°É£º£©
¡¡¡¡´óÉÙÒ¯ÊǸö¼¤½ø·Ö×Ó£¬Ï²»¶Ö±½ÓÄôúÂë˵Ê£¬²»¹ýÔÚ°Ñ¿ÉÁ¯µÄ¶ÁÕßŪµÃһͷÎíˮ֮ǰ£¬»¹ÊÇÏÈ´óÖÂ˵һϱ¾ÎĵÄÄ¿ ......

Apache+php+mysqlÔÚwindowsϵݲװÓëÅäÖÃͼ½â

ÏÈ×¼±¸ºÃÈí¼þ£º
·Ö±ðÔÚApache¹Ù·½¡¢php¹Ù·½¡¢mysql¹Ù·½ÏÂÔØ×îлòÎȶ¨°æ±¾
Ò»¡¢°²×°Apache£¬ÅäÖóɹ¦Ò»¸öÆÕͨÍøÕ¾·þÎñÆ÷
ÔËÐÐÏÂÔغõēapache_2.0.55-win32-x86-no_ssl.msi”£¬³öÏÖÈçϽçÃ棺
 
 
³öÏÖApache HTTP Server 2.0.55µÄ°²×°Ïòµ¼½çÃ棬µã“Next”¼ÌÐø
 
 
È·È ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ