µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
PHP
» (PHP+IIS+MsSQL±Ð¾Ç²Ä13½g) »¼°j
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
[±Ð¾Ç]
(PHP+IIS+MsSQL±Ð¾Ç²Ä13½g) »¼°j
¤p»x
µoµu®ø®§
¥[¬°¦n¤Í
¤p»x
(¤p»x)
·í«eÂ÷½u
´¿¸g¤]¬O¤ô¹q¤u
UID
9
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ª÷¿ú
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
¦b½u®É¶¡
490 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-12-2
¡@¼ÊºÙ:
¤p»x
¡@ÀY»Î:
´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-12-2
1
#
¸õÂà¨ì
»
˧Ǭݩ«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2010-5-13 20:24
|
¥u¬Ý¸Ó§@ªÌ
[±Ð¾Ç]
(PHP+IIS+MsSQL±Ð¾Ç²Ä13½g) »¼°j
»¼°j
»¼°j¡]Recursion¡^¡A¦b¨ç¼Æ¤¤©I¥s¨ç¼Æ¦Û¤v¥»¨ºÙ¤§¬°»¼°j¡C
¨Ò¦p¡G
<?
function MyTest($num)
{
echo $num;
Mytest($num+1); //©I¥s¨ç¼Æ¦Û¤v
}
?>
½Æ»s¥N½X
±µµÛ¡A§ÚÌ©I¥s¨ç¼Æ¡G
<?
MyTest(3); //©I¥s¨ç¼Æ¨Ã¶Ç»¼°Ñ¼Æ
?>
½Æ»s¥N½X
¤W±³oÓ¨Ò¤l¡A²z½×¤W¬O¹ïªº¡A¦ý¬O°õ¦æ¤W«o¬O¿ù»~ªº¡G
¤U¸ü
(20.91 KB)
2010-5-13 20:22
¬°¤°»ò·|³o¼Ë¡H¦]¬°§Ú̪º»¼°jµo¥Í¤F¡uµL½a°j°é¡vªº¿ù»~¡A¦]¦¹¡A¬°¤FÁקK¨Ï¥Î»¼°j³´¤J¡uµL½a°j°é¡v¡A§ÚÌ¥²¶·³]©w°±¤î»¼°j¨Ï¥Îªº±ø¥ó¦¡¨Ó¸õ¥X°j°é¡A¨Ò¦p¡G
<?
function MyTest($num)
{
echo $num . "<Br>";
if ($num<100) //³]©w»¼°j±ø¥ó
{
Mytest($num+1); //©I¥s¨ç¼Æ¦Û¤v
}
}
?>
½Æ»s¥N½X
¨Ï¥Î»¼°j³Ì«nªº¤@ÂI´N¬On¦w±Æ»¼°j¥X¤f¡A¤]´N¬O³]©w²æÂ÷»¼¦^ªº±ø¥ó¡A¨Ò¦p¤W¨Ò¡A§Ú̱N»¼°jªº±ø¥ó¨î¦bnum¤p©ó100ªº½d³ò¤º¡A·ínum¤j©ó©Îµ¥©ó100®É¡A¦]¬°±ø¥ó¦¡¤£¦¨¥ß¡A»¼°j¤]´N°±¤î¤F¡A¤]´N¬O»¡¡G¥ý§PÂ_±ø¥ó¦¡¬O§_¦¨¥ß¦A¨M©w¬O§_¶i¦æ»¼°j¡C
©ÎªÌ¡A¤]¥i¥H¦p¤U¨Ò³o¼Ë°µ¡G
<?
function MyTest($num)
{
echo $num . "<Br>";
if ($num>100) //³]©w»¼°j±ø¥ó
{
return; //µ²§ô»¼°j
}
Mytest($num+1); //©I¥s¨ç¼Æ¦Û¤v
}
?>
½Æ»s¥N½X
¤W¨Ò¬O¨Ï¥Îreturn±Ôz¨Ó±j¨î²æÂ÷¨ç¼Æ¡A©_©Ç¡I¡ureturn¡v¤£¬O¥Î¨Ó¶Ç»¼¦^¶ÇȪº¶Ü¡H¨ä¹ê¡Areturn³Ì¥Dnªº¤u§@´N¬O¡u¥ß§Yªð¦^©I¥s¦Û¤vªºµ{¦¡°Ï¬q¡A¨Ã¶Ç¦^¦^¶Çȸê®Æ¡v¡A¦pªG§Ú̪º¤èªk¨S¦³¶Ç¦^È¡A´N¤£¥Î¼greturn¡A¦]¬°¤èªk°õ¦æ§¹²¦´N·|¦Û°Êªð¦^¡A§ÚÌ´N¬O§Q¥Îreturn¡u¥ß§Yªð¦^©I¥s¦Û¤vªºµ{¦¡°Ï¬q¡vªº¯SÂI¨Ó§¹¦¨¤¤Â_°õ¦æªº¥Øªº¡C
¹ê°µ¾Ç²ß¡G
½Ð¨Ï¥Î»¼°j¤è¦¡¼g¤@¨ç¼Æ¡A±N¶Ç¤Jªº¦r¦ê¤Ï¦V¦C¦L¥X¨Ó¡A¨Ò¦p¶Ç¤JMicrosoft¦^¶Ç¿é¥XtfosorciM¡C
<?
function Mystring($testword,$len)
{
if ($len < strlen($testword))
{
$len++;
echo substr($testword,strlen($testword)-$len,1);
Mystring($testword,$len);
}
}
?>
<HTML>
<HEAD>
<TITLE>test04_03</TITLE>
</HEAD>
<BODY>
<?
$test="Microsoft";
echo Mystring($test,0);
?>
</BODY></HTML>
½Æ»s¥N½X
¼Ó¥D¼ö©«
½×¾Â¤£Åý¸ê¾ú¤ñ¸û²Lªº¤H¤U¸ü¬d¬Ýªþ¥óªº¥Î·N
EXCEL±MÄÝ°Q½×°Ï¦Û§Y¤é°_¤¤¾Ç¥Í¥H¤W·|û¤è
³Â»¶®a±Ú°Q½×°Ï ³q¥Îª©³W
OFFICE °ò¦±Ð¾Ç¼Æ¦ì¤Æ
ATX ¹q·½¨ÑÀ³¾¹¤â°Ê±Ò°Ê(¤£±µ¥D¾÷ªO±Ò°Ê)
¦Ò¼{Ãö³¬½×¾Âºô¯¸
³Â»¶®a±Ú°Q½×°ÏÁô¨pÅv¬Fµ¦»¡©ú
³Â»¶®a±Ú°Q½×°Ï ¸Û¼xª©¥D
¥Ñ½׾ÂÂà¶iªº¤¤¾Ç¥Íµ¥¯Å¥H¤W·|û,½ÐÃöª`!
14-2 ¸ê®Æ®w¹Ï¤ù¦s¨ú
¦¬ÂÃ
¤À¨É
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
¤p»x
µoµu®ø®§
¥[¬°¦n¤Í
¤p»x
(¤p»x)
·í«eÂ÷½u
´¿¸g¤]¬O¤ô¹q¤u
UID
9
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ª÷¿ú
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
¦b½u®É¶¡
490 ¤p®É
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-12-2
¡@¼ÊºÙ:
¤p»x
¡@ÀY»Î:
´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
©«¤l
1190
¥DÃD
394
ºëµØ
113
¿n¤À
1747
ÂI¦W
1
§@·~¨t²Î
Vista
³nÅ骩¥»
Office 2003
¾\ŪÅv
200
©Ê§O
¨k
¨Ó¦Û
¥xÆW
µù¥U®É¶¡
2010-5-1
³Ì«áµn¿ý
2024-12-2
2
#
µoªí©ó 2010-5-13 20:30
|
¥u¬Ý¸Ó§@ªÌ
Åܼƪº¦³®Ä½d³ò
·í§Ú̫ŧi¤@ÓÅܼƫá¡A³oÓÅܼƨ䣬OÄÝ©ó¥ô¦óµ{¦¡°Ï¬q³£¦³®Ä³á¡I¨ç¼Æ¤º¥~«Å§iªºÅܼơA³£¦³¤@©wªº¦³®Ä½d³ò¡A¦]¦¹¤~©µ¦Ü¦¹¸`¨Ó»¡©úÅܼƪº¦³®Ä½d³ò¡C
Åܼƨä«Å§iªº¦ì¸m´N¨M©w¤F¥¦ªº¦³®Ä½d³ò¡I¨Ò¦p§Ú̦b¨ç¼Æ¨Ï¥ÎÅܼơA¦]¬°ÅܼƬO¨ç¼Æ¤ºªì©lªº¡A©Ò¥H¡A¥¦¬O¤@Ó¨ç¼Æ¤º¦³®Äªº¡u°Ï°ìÅܼơv¡A¨Ò¦p¡G
<?
function MyTest()
{
$y=50;
}
MyTest();
echo $y; //¿ù»~
?>
½Æ»s¥N½X
¤W¨Ò¤¤©Òªì©lªºÅܼƥu¦b¸Ó¨ç¼Æ¤º¦³®Ä¡A¦]¦¹¡A·í§Ú̦b¨ç¼Æ¥~¿é¥X¦¹ÅܼÆȮɧY·|µo¥Í¿ù»~¡C
¤U¸ü
(20.37 KB)
2010-5-13 20:28
¦pªGnÅýÅܼƦb¨ç¼Æ½d³ò¥~¤´µM¯à°÷¨Ï¥Î¡A§ÚÌ¥²¶·©ó¨ç¼Æ¨Ï¥Î¡uglobal¡v±Ôz¨Óªì©lÅܼơA¦Ó³oÓÅܼƴN¦¨¤F¡u¤½¦@Åܼơv¡G
<?
function MyTest()
{
global $y;
$y=50;
}
MyTest();
echo $y; //¿é¥X50
?>
½Æ»s¥N½X
ÅܼÆyÁö¦b¨ç¼Æ¥~¦³®Ä¡A¦ý¦¹yÅܼƤw¦¨¬°¤½¦@ÅܼơA¦]¦¹¡AÅܼÆyªºÈ±N¥i¯à¦]¨ç¼Æ¥~ªº±Ôz¦Ó§ïÅܨä¸ê®ÆÈ¡A¨Ò¦p¡G
<?
function MyTest()
{
global $y;
$y=50;
}
echo $y; //µù1
MyTest(); //©I¥s¨ç¼Æ
echo $y; //µù2
echo "<br>";
$y=100; //«·s«ü©wÅܼÆÈ
echo $y;//µù3
?>
½Æ»s¥N½X
µù¡G
¦b¥¼©I¥s¨ç¼Æ®É±ý¿é¥XÅܼÆy¡A¥Ñ©óÅܼÆy©|¥¼ªì©l¡A¦]¦¹¡A³y¦¨¿ù»~¡C
©I¥s¨ç¼Æ«á¡A¨ç¼Æ¤wªì©lÅܼÆy¡A¨Ã¥Ñ¡uglobal¡v±Ôz«ü©wÅܼÆy¬°¤½¦@Åܼơ]¥þ°ìÅܼơ^¡A¦]¦¹¿é¥XÅܼÆyªºÈ¬°50¡C
¬JµMÅܼÆy¤w¦¨¬°¤½¦@ÅܼơA´N¥i¥H¦b¨ç¼Æ½d³ò¥~ª½±µ¦A¨Ï¥ÎÅܼÆy¡C
¤ÏÃÒ¡G
Y§Ú̦b¨ç¼Æ¥~ªì©lÅܼơA¨º»ò¨ç¼Æ¤º¦A¨Ï¥Î¦¹Åܼƥi¥H¶Ü¡H¬Ý¤@¤U¤U±ªº¨Ò¤l¡G
<?
$word="¤p»x";
function MyTest()
{
$word="¤p³½";
}
MyTest(); //©I¥s¨ç¼Æ
echo $word;
?>
½Æ»s¥N½X
¤W¨Ò¡A¦b¨ç¼Æ¥~ªì©lÅܼÆword¡A¸ê®ÆȬ°¡u¤p»x¡v¡A¨ç¼Æ¤ºÅܧóÅܼÆwordªº¸ê®ÆȬ°¡u¤p³½¡v¡A©I¥s¨ç¼Æ«á¿é¥XÅܼÆwordªº¸ê®ÆÈ¡A½Ð°Ýµª®×¬O¤°»ò¡H·íµM¬O¡u¤p»x¡v°Õ¡I¦]¬°¨ç¼Æ¬O¿W¥ßªºµ{¦¡°Ï¶ô¡A®Ú¥»´N¤£ºÞ¨ç¼Æ¥~¦³¨Ç¤°»òÅܼơA©Ò¥H¥¦¦Û¤v¤]¥i¥H¦³¤@ÓÅܼƦWºÙ¬Û¦PªºÅܼơA³o¨ç¼Æ¤º¥~¬Û¦P¦WºÙªºÅܼƬO¨âÓ¤£¦Pªº¿W¥ßÓÅé¡I
¦pªGn¦b¨ç¼Æ¤¤¨Ï¥Î¨ç¼Æ¥~¤w¸g«Ø¥ßªº¤½¦@ÅܼơA¤´µM¥²¶·¨Ï¥Î¡uglobal¡v±Ôz¨Ó³qª¾PHPn¦b¨ç¼Æ¤¤¨Ï¥Î¨ç¼Æ¥~ªº¤½¦@ÅܼơA¦p¤U¨Ò¡G
<?
$word="¤p»x";
function MyTest()
{
global $word;
$word="¤p³½";
}
MyTest(); //©I¥s¨ç¼Æ
echo $word; //¿é¥X"¤p³½"
?>
½Æ»s¥N½X
¦bPHP¤¤¦³¤@Ó¹w³]ªº¡u$GLOBALS¡v°}¦C¡A¥¦·|°O¿ýºô¶¤¤©Ò¦³ªºÅܼơAÅܼƦWºÙ¬°¦r¦êµù¼Ð¡A¦ÓÅܼÆÈ«h¬°°}¦C¤¸¯À¡A¦]¦¹¡A¥ç¥i¤£¨Ï¥Î¡uglobal¡v±Ôz¨Ó³qª¾PHPn¦b¨ç¼Æ¤¤¨Ï¥Î¨ç¼Æ¥~ªº¤½¦@ÅܼơA¦Óª½±µ³z¹L¡u$GLOBALS¡v°}¦C¨Ó¨ú¥Î¨ç¼Æ¥~ªºÅܼơG
<?
$word="¤p»x";
function MyTest()
{
$GLOBALS["word"]="¤p³½";
}
MyTest(); //©I¥s¨ç¼Æ
echo $word; //¿é¥X"¤p³½"
?>
½Æ»s¥N½X
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
TOP
ÀR«ä¦Û¦b :
«Ý¤H°h¤@¨B¡A·R¤H¼e¤@¤o¡A´N·|¬¡±o«Ü§Ö¼Ö¡C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·