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

php»ñÈ¡form±íµ¥ÖÐnameÏàͬµÄ±íµ¥Ïî

Ô­ÎĵØÖ·£ºhttp://hi.baidu.com/pengpeng5047/blog/item/c3f3b003d0452a034bfb519f.html
±ÈÈçÏÂÃæµÄ±íµ¥£º
/*form.php*/
<form action="getform.php" method="post">
<table border="1">
<tr>
<th>ÐÕÃû</th>
<th>ѧºÅ</th>
</tr>
<tr>
<td>ÕÅÈý</td>
<td><input type="text" name="number" value="001"></td>
</tr>
<tr>
<td>ÀîËÄ</td>
<td><input type="text" name="number" value="002"></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="±£´æÐÞ¸Ä"/></td>
</tr>
</table>
</form>
ÕâÊÇÒ»¸öѧÉúÐÅÏ¢µÄ±íµ¥£¬ÔÊÐí¹ÜÀíÔ±ÐÞ¸ÄѧÉúµÄѧºÅ²¢±£´æ¡£ºÜÃ÷ÏÔͨ³£Ñ§Éú»áÓкܶà¸ö¡£ÎªÁË»ñȡѧºÅ£¬ÎÒÃǵÄgetform.phpÈçÏÂ:
<?php
$number = $_POST['number'];
echo $number;
?>
Èç¹ûÖ´ÐеĻ°ÎÒÃǻᷢÏÖÊä³öµÄ½á¹ûÊÇ×îºóÒ»¸öÎı¾ÓòµÄÖµ"002"£¬ÄÇôÔõÑù»ñµÃËùÓÐѧÉúµÄѧºÅÄØ£¿ÔÚÍøÉϲé×ÊÁϺó»ñÖª£ºÖ»ÐèÔÚform.phpÖаÑnameÓÉnumber¸ÄΪnumber[]£¬ÄÇôÎÒÃÇÔÚgetform.phpÖлñµÃµÄ$_POST['number']¾ÍÊÇÒ»¸öËùÓÐѧºÅÊý×é¡£Ð޸ĺó¶ÔÓ¦µÄgetform.phpΪ£º
<?php
$number = $_POST['number'];
foreach($number as $value)
echo $value."<br/>";
?>
Ö´ÐУ¬¼´¿ÉÏÔʾËùÓÐѧÉúµÄѧºÅÁË£¬great!


Ïà¹ØÎĵµ£º

ÍƼöСÇÉµÄ PHP ¿ò¼Ü

ÍƼöСÇÉµÄ PHP ¿ò¼Ü
CodeIgniter ÊÇÒ»¸öСÇɵ«¹¦ÄÜÇ¿´óµÄ PHP ¿ò¼Ü£¬×÷Ϊһ¸ö¼òµ¥¶ø“ÓÅÑÅ”µÄ¹¤¾ß°ü£¬Ëü¿ÉÒÔΪ PHP ³ÌÐòÔ±½¨Á¢¹¦ÄÜÍêÉÆµÄ Web Ó¦ÓóÌÐò¡£Èç¹ûÄãÊÇÒ»¸öʹÓù²ÏíÖ÷»ú£¬²¢ÇÒΪ¿Í»§ËùÒªÇóµÄÆÚÏÞ¶ø·³ÄյĿª·¢ÈËÔ±£¬Èç¹ûÄãÒѾ­Ñá¾ëÁËÄÇЩɵ´ó±¿´ÖµÄ¿ò¼Ü.
ÀïÃæ°üº¬ÁËÈÕ³£ËùÐèÒªµÄÀà¿â£¬´úÂ뾫¼ò¡£ºÜÊ ......

php??VC9,VC6,Thread Safe,Non Thread SafeµÄÒâ˼???

VC9,VC6,Thread Safe,Non Thread SafeµÄÒâ˼?
ʱ¼ä:2009-10-07 10:55À´Ô´:ÍøÂç ×÷Õß:CNITonline.comÕûÀí ÎÒҪͶ¸å ×¢²áIT¼ÒÔ°
×î½üÔÚPHP¹ÙÍøÉÏ¿´µ½ÓÖÓÐаæµÄPHPÏÂÔØÁË£¬ÓÚÊÇÉÏÈ¥ÕÒÕÒFor WindowsµÄ°æ±¾£¬¿ÉÊÇÒ»¿´È·ÉµÑÛÁË£¬Ò»¹²¸øÁËËĸö°æ±¾£¬VC9 x86 Non Thread Safe¡¢VC9 x86 Thread Safe¡¢VC6 x86 Non Thread Safe¡¢VC ......

PHPÔÚXPÏÂIISºÍApache2·þÎñÆ÷Éϵݲװ

×î½ü£¬ÓÐÐí¶àÅóÓÑÎÊÎÒÔÚWindowsXpÏÂPHPµÄ°²×°¹ý³Ì£¬ÕýºÃ×î½üÎÒÔÚ×Ô¼ºµÄ»úÆ÷Éϳɹ¦µÄÒÔÄ£¿é»¯µÄ·½Ê½°²×°ÁËPHP4.23¡£¼ÈÈ»Õâô¶àÅóÓÑÐèÒª£¬ÎÒ¾ÍÒÔ×î³£¼ûµÄIISºÍApache·þÎñÆ÷ΪÀý£¬°ÑPHPÔÚWindowsXPϵݲװ¹ý³Ìд³öÀ´°É£¬Ï£ÍûÄܶÔÒª°²×°PHPµÄÅóÓÑÓеã°ïÖú¡£Èç¹û²»¼ÓÌØÊâ˵Ã÷£¬ÒÔϵĽéÉÜͬʱҲÊÊÓÃÓÚWin2000°æ±¾¡£
Ò»¡¢¸ÅÊö£ ......

php»·¾³´î½¨

phpÏÂÔØ£º
http://windows.php.net/download/
Ñ¡Ôñ
VC6 x86 Thread Safe (2010-Mar-04 20:11:08)
VC6 x86´ú±í Apache HTTP Server (httpd) 2.2.15 ºÍPHP½áºÏ
apacheÏÂÔØ£º
http://httpd.apache.org/download.cgi#apache22
Ñ¡Ôñ2.2.15
httpd-2.2.15-win32-x86-no_ssl.msi [PGP] [MD5] [SHA1]
apache services 2.2Ð ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ