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

PHPÌ×¼þ

±¾À´²»Ïë̸Õâ¸ö³ÁÖصĻ°Ì⣬Æäʵ˵°×ÁË£¬Èç¹ûÄãÒ»¸öPHPµÄ³ÌÐòÔ±Á¬ÔõôÅäÖû·¾³¶¼¸ã²»¶¨Ä㻹¸ã¸öP¿ª·¢Ñ½¡£µÃ£¬ÔÛ²»ËµÄãÔÚlinuxÏÂÃæ¸ã¶¨ÕâЩ£¬ÄѵÀÄãÔÚwindowsÏÂÃæÄãÒ²¸ã²»¶¨£¿
ÏÖÔÚµÄPHP¶þ½øÖÆ°²×°°æ±¾ÒѾ­¿ÉÒÔÖ§³Öapache,iis5,iis6µÈһЩWEB·þÎñÆ÷ÁË£¬ÎªÊ²Ã´»¹ÊÇÓÐһЩÈ˲»»áÅäÖÃÄØ£¿ÕæÏ벻ͨѽ¡£¡£¡£¡£¡£¡£
ÓÚÊÇÔÚÕâÖÖ´ó»·¾³Ï£¬¸÷ÖÖ¸÷ÑùµÄAMPÌ×¼þ¾Í²ã³ö²»ÇîÁË¡£ÎÒÒ²ÓùýһЩPHPÌ×¼þ£¬µ«ÎÒ´¿´âÊÇΪÁË͵ÀÁ£¬´Ó×î³õµ½ÏÖÔÚ¶¼ÊÇΪÁË͵ÀÁ¡£
×îÔçµÄʹÓþÍÊÇappserv£¬°æ±¾¸üкܿ졣µ«ÎÒÔÚÓÃÁËijһ¸ö°æ±¾ºó¾Í²»»áÔÙ¸üÐÂÁË¡£Ë­»áÄÇôÓпնԿª·¢ÓõķþÎñÆ÷À´¾­³£¸üУ¿ÔÙºóÀ´¾ÍʹÓÃÁËapmxe£¨fleaphpµÄ×÷ÕßËùд£©ÓÃÁËÖ®ºó¾Í¶ÔÆäËûµÄAMPÌ×¼þûÐËȤÁË¡£ËäÈ»ÎÒ¶ÔQEEµÄÌ«¼àºÜ²»Âú£¬µ«²¢²»´ú±íÎÒ¶ÔAPMXEÕâ¿îÈí¼þÓÐʲôBSÖ®´¦£¬×Ô´ÓÎÒÓÃÁËÕâ¿îÈí¼þºó£¬ÎÒ×Ô¼ºÒ²¶ÔËûµÄһЩ»·¾³½øÐÐÁËÅäÖã¬È»ºó¶Ô¸ÃĿ¼½øÐÐÔÙ´ò°ü£¬ÓÀÔ¶µÄÈÃËü´æÔÚÓÚÎÒµÄd:/usr/localĿ¼Ï£¬Ö÷Òª»¹ÊÇÒòΪÕâÑùµÄĿ¼½á¹¹·Åµ½Ò»Ð©linux·þÎñÆ÷ÉÏÎÊÌâÒ²²»»áÌ«´ó¡£ºÇºÇ
ÔÚʵ¼ÊÖУ¬ÓкܶàÅóÓÑÒ²ÔÚʹÓÃ×Åphpnow,xamppµÈ£¬¿ª»¨Ê¯Í·×Ô¼ºÒ²×öÁËÒ»¿îÕâÑùµÄÌ×¼þ£¬ÔÚËûµÄ¹Ù·½ÍøÕ¾£ºhttp://www.8y8u.com.cn/ÉÏÓÐÌáʾ£¬easyDev.
½ñÌ죬ÔÚcnbetaÉÏ£¬ÓÖ¿´µ½Ò»¿îe2php£¬»¹ÓÐһЩÂÛ̳ΪÁË·ÀÖ¹Óû§²»»áÅäÖã¬Ò²×öÁËһЩÌ×¼þ£¬±È½ÏÓÐÃûµÄ¾ÍÊÇdiscuzÁË¡£
³ý´ËÖ®Í⣬s135µÄ²©¿ÍÉÏ£¬Ò²ÓÐÕÅÑç×Ô¼º×öµÄÒ»¸öÌ×¼þ£¬ÀïÃæµÄ¶«Î÷Ò²±È½Ï¶à¡£
Ò»Ò»ÁгöÍøÖ·£¬Ê¡µÃ¹â˵²»Á·£¬±»ÈËÂî
1¡¢Appserv£ºhttp://www.appservnetwork.com/£¬¼ÇµÃÍøÕ¾µÄÄǸöСͷÏñÌرðÓÐÒâ˼
2¡¢Xampp£ºhttp://sourceforge.net/projects/xampp/
3¡¢Apmxe£ºhttp://www.dualface.com/blog/?page_id=402£¬¿ÉϧÀïÃæÏÖÔÚ´øÁËfleaphp¿ò¼Ü£¬²»¹»´¿¾»ÁË
4¡¢PHPNow£ºhttp://phpnow.org£¬ºÃÏóºÜ¶àÈËÏÖÔÚϲ»¶Õâ¸ö
5¡¢e2PHP£ºhttp://www.cnbeta.com/articles/72902.htm£¬½ñÌìÔÚCBÉÏ¿´µ½µÄ
6¡¢ÕÅÑç°æ£ºhttp://www.s135.com/post/373.htm
7¡¢Ê¯Í·°æ£ºhttp://www.8y8u.com.cn/
8¡¢Discuz°æ£ºhttp://www.discuz.net/thread-223885-1-1.html
»òÐíÓÐÒÅ©£¬µ«ÒÔÉÏÕâô¶à¿Ï¶¨¹»ÄãÓÃÁË°É¡£¡£¡£Èç¹ûÄãÈÏΪ»¹²»¹»ÄÇÎÒҲûÓÐʲô°ì·¨ÁË¡£µ±È»ÎÒ×Ô¼ºÅäÖõÄĿ¼£¬ÏÖÔÚÊÇphp4,php5,mysql4,mysql5¶¼È«µÄ£¬²»¹ýÒ²²»ÄÜͬʱÆô¶¯µÄ¡£ÎÞËùνÁË¡£Ïë²âÊÔÄĸöµÄʱºò¾ÍÔËÐÐһϿì½Ý·½Ê½£¬°³¶¼¶¨ÒåºÃµÄ£¬¹þ¹þ¹þ¹þ


Ïà¹ØÎĵµ£º

LAMP(Linux+Apache+MySQL+PHP)·þÎñÆ÷µÄÐÔÄÜÓÅ»¯

Ä¿Ç°LAMP (Linux + Apache + MySQL + PHP) ½ü¼¸ÄêÀ´·¢Õ¹Ñ¸ËÙ£¬ÒѾ­³ÉΪWeb ·þÎñÆ÷µÄÊÂʵ±ê×¼¡£LAMP 
Õâ¸ö´ÊµÄÓÉÀ´×îÔçʼÓڵ¹úÔÓÖ¾“c't Magazine”£¬Michael KunzeÔÚ1990Äê×îÏÈ°ÑÕâЩÏîÄ¿×éºÏÔÚÒ»Æð´´ÔìÁËLAMPµÄËõд×Ö¡£ÕâЩ×é¼þËäÈ»²¢²»ÊÇ¿ª¿ªÊ¼¾ÍÉè¼ÆΪһÆðʹÓõģ¬µ«ÊÇ£¬ÕâЩ¿ªÔ´Èí¼þ¶¼¿ÉÒԺܷ½±ã µÄË ......

HTTPServiceÓëPHPͨÐÅ

ÔÚFlexÖÐÓÐ2¸öHTTPServiceÀ࣬ËüÃǵÄÍêÕû¼Ì³Ð·¾¶·Ö±ðÊÇmx.rpc.httpºÍmx.rpc.http.mxml,¿ÉÒÔ¿´³ömx.rpc.http.mxmlÊÇmx.rpc.httpµÄ×ÓÀà¡£mx.rpc.http.mxmlÖеÄhttpServiceÖ÷ÒªÊÇΪÁËMXML±êÇ©ÖÐʹÓÃHTTPService¶øÉèµÄ¡£mx.rpc.httpÊÇÔÚʹÓÃas½Å±¾½øÐвÙ×÷ʱʹÓᣵ±µ÷Óà HTTPService ¶ÔÏóµÄ send() ·½·¨Ê±£¬½«·¢³ö¶ÔÖ¸¶¨ URL ......

phpµÄstatic±äÁ¿×÷ÓÃÓò

¶ÔÓÚÔËÐÐÔÚapacheÀïµÄphpÓ¦ÓÃÀ´Ëµ£¬static±äÁ¿µÄ×÷ÓÃÓòÊÇÒ»´ÎhttpÇëÇó¡£
¿ÉÒÔͨ¹ýÒÔÏ´úÂë½øÐÐÑéÖ¤£º
<?php
# test.php
function test(){
     static $sss = 0;
     ++$sss;
     echo $sss;
}
test();
?>
·ÃÎÊ/test.php £¬¿ÉÒÔ¿´µ½£¬×ÜÊÇ ......

phpÖеÄheaderÓ÷¨

 header() is used to send raw HTTP headers. See the HTTP/1.1 specification for more information on HTTP headers.
ʹÓ÷¶Àý
·¶ÀýÒ»:
 <?PHP
Header("Location: http://www.phpchina.com";);
exit;//ÔÚÿ¸öÖض¨ÏòÖ®ºó¶¼±ØÐë¼ÓÉÏ“exit",±ÜÃâ·¢Éú´íÎóºó£¬¼ÌÐøÖ´ÐС£
?>
<?php
head ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ