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

xen nginx php ¼Ç¼һÏ¡£

×î½üÔÚŪnginxºÍxen+php.ÖмäÒ²·ÑÁ˲»ÉÙµÄÖÜÕÛ.¼Ç¼һÏÂ.Ò²ËãÒ»¸öС³É¹û.
²Ù×÷ϵͳ°æ±¾,×îºó»¹ÊÇÑ¡ÔñCentOS-5.4-x86_64-bin-DVD.iso.
CentOS-5.4-x86_64-bin-DVD.iso µÄ°²×°:
°²×°µÄʱºò»ù±¾ÉÏlibºÍ¿ª·¢¹¤¾ß¶¼ÒªÑ¡.×ÀÃæµÄ¿ª·¢»·¾³ÎÒÒ²¶¼Ñ¡ÁË.
˵²»¶¨Äĸöº¯ÊýÖ§³Ö¾ÍÒªÓõ½Õâ¸ö¿â.
mysql-5.1.41.tar.gz:
¾Ý˵¸ü¸ß°æ±¾µÄÓÐÎÊÌâ.µ«Êǿ϶¨°²×°±àÒëÊÇ¿ÉÒÔͨ¹ýµÄ.Ò²ÄÜÆðÀ´.


Ïà¹ØÎĵµ£º

php HTTP_RAW_POST_DATA

http://php.net/manual/en/reserved.variables.httprawpostdata.php
http://www.cnblogs.com/mustardpeanut/archive/2009/06/15/1503395.html
http://blog.csdn.net/letianok/archive/2009/02/27/3941731.aspx
http://www.woria.cn/blog/read.php/596.htm ......

PHPÀàʵÀý½Ì³Ì£¨°Ë£©£ºÀàµÄ¼Ì³Ð

¼Ì³ÐÊÇÃæÏò¶ÔÏó×îÖØÒªµÄÌصãÖ®Ò»£¬¾ÍÊÇ¿ÉÒÔʵÏÖ¶ÔÀàµÄ¸´Óá£
ͨ¹ý“¼Ì³Ð”Ò»¸öÏÖÓеÄÀ࣬¿ÉÒÔʹÓÃÒѾ­¶¨ÒåµÄÀàÖеķ½·¨ºÍÊôÐÔ¡£
¼Ì³Ð¶ø²úÉúµÄÀà½Ð×ö×ÓÀà¡£
±»¼Ì³ÐµÄÀ࣬½Ð×ö¸¸À࣬Ҳ±»³ÉΪ³¬Àà¡£
PHPÊǵ¥¼Ì³ÐµÄ£¬Ò»¸öÀàÖ»¿ÉÒԼ̳ÐÒ»¸ö¸¸À࣬µ«Ò»¸ö¸¸ÀàÈ´¿ÉÒÔ±»¶à¸ö×ÓÀàËù¼Ì³Ð¡£
´Ó×ÓÀàµÄ½Ç¶È¿´£¬Ëü“ ¼ ......

PHPÀàʵÀý½Ì³Ì£¨Ê®¶þ£©£ºÀàÖÐparent::¹Ø¼ü×Ö

PHP5ÖÐʹÓÃparent::À´ÒýÓø¸ÀàµÄ·½·¨¡£ parent:: ¿ÉÓÃÓÚµ÷Óø¸ÀàÖж¨ÒåµÄ³ÉÔ±·½·¨¡£parent::µÄ×·Ëݲ»½öÓÚÖ±½Ó¸¸Àà¡£
ͨ¹ýparent::µ÷Óø¸Àà·½·¨
<!-- ÉùÃ÷Ò»¸öÔ±¹¤Àà,¾­ÀíÀà¼Ì³Ð×ÔÔ±¹¤Àà -->
<?php
class employee
{
protected $sal = 3000;
public function getSal() {
$this->sal = $this-> ......

PHPÀàʵÀý½Ì³Ì£¨Ê®¾Å£©£ºPHPÀà½Ó¿ÚµÄ¶¨ÒåÓë¹æ·¶

½Ó¿Ú(interface)ÊdzéÏó·½·¨ºÍ¾²Ì¬³£Á¿¶¨ÒåµÄ¼¯ºÏ¡£
½Ó¿ÚÊÇÒ»ÖÖÌØÊâµÄ³éÏóÀ࣬ÕâÖÖ³éÏóÀàÖÐÖ»°üº¬³éÏó·½·¨ºÍ¾²Ì¬³£Á¿¡£
½Ó¿ÚÖÐûÓÐÆäËüÀàÐ͵ÄÄÚÈÝ¡£
½Ó¿ÚµÄ¶¨Òå
ÎÒÃÇÏÈд½Ó¿ÚµÄ¶¨Ò壬ºóÃ漸½ÚÔÙ½éÉܽӿڵÄÒâÒå¡£
ÏÂÃæµÄÀý×ÓÊǽӿڵÄÒ»¸ö¼òµ¥Ð´·¨¡£
<?php
interface ½Ó¿ÚÃû
{
}
?>
ÏÂÃæµÄÀý×Ó¶¨ÒåÁËÒ»¸ö½Ó ......

PHPÀàʵÀý½Ì³Ì£¨¶þÊ®£©£ºPHPÀà½Ó¿ÚµÄʵÏÖ½Ó¿Ú

ÀàʵÏÖ½Ó¿ÚҪʹÓà implements ¡£ÀàʵÏÖ½Ó¿ÚҪʵÏÖÆäÖеijéÏó·½·¨¡£Ò»¸öÀà¿ÉÒÔʵÏÖ¶à¸ö½Ó¿Ú¡£
Ò»¸öÀà¿ÉÒÔʹÓà implements ʵÏÖ½Ó¿Ú£¬ÉõÖÁ¿ÉÒÔʵÏÖ¶à¸ö½Ó¿Ú¡£
´ó²¿·ÖµÄÊé˵£¬ÕâÑùÊÇΪÁËʵÏÖPHPµÄ¶à¼Ì³Ð¡£ÎªÊ²Ã´ÄØ£¿
PHP5Êǵ¥¼Ì³ÐµÄ£¬Ò»¸öÀàÖ»¿ÉÒԼ̳Ð×ÔÒ»¸ö¸¸Àà¡£½Ó¿Ú¿ÉÒÔʵÏÖ¶à¸ö£¬ÕâÑù¾ÍÊǶà¼Ì³ÐÁË¡£
ÕâÑù˵ÓÐЩµÀÀí¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ