Apache PHPÀûÓÃHTTP»º´æÐÒéÔÀí½âÎö¼°Ó¦ÓÃ
ÔÎÄ£ºhttp://www.phpx.com/tech/php/2009-01-29/286.html
ÏÂÃæÊǽØÈ¡µÃapache·µ»Ø¿Í»§¶ËµÄÍ·
---------
Last-Modified: Fri, 26 Jan 2007 01:53:34 GMT
ETag: "3f9f640-318-cb9f8380"
---------
ËÑË÷ÒýÇæÖ®ËùÒÔϲ»¶¾²Ì¬ÎļþÊÇÒòΪÓÐÕâÁ½¸ö±êʶ£¬¿ÉÒÔÅжÏÎļþÊÇ·ñ¸üйý
¶þ¡¢PHPµÈ¶¯Ì¬Ò³Ãæ
ÓÉÓÚphpÊǶ¯Ì¬Éú³ÉµÄ£¬ËüµÄÄÚÈÝÊDz»Äܸù¾Ýphp³ÌÐòµÄʱ¼äÀ´È·¶¨×îºóÐÞ¸ÄÈÕÆÚ£¬ËùÒÔĬÈÏphp·µ»Ø¿Í»§¶ËµÄʱºò²¹°üº¬Èκλº´æ¿ØÖÆ£¬ÒªÏëÀûÓúûº´æ¾Í±ØÐëÁ˽⻺´æ»úÖÆ£¬ºÍÀí¼õÉÙb,sµÄ½»»¥£¬Ëõ¼õ´ø¿íÁ÷Á¿£¬¼õÇá·þÎñÆ÷¸ºµ£...ºÃ´¦¶à¶àf
Èý¡¢»º´æ¿ØÖƵľßÌ庬Òåf
ÏȽâÊÍһϱ¾È˾¹ý²âÊÔÀí½âµÄÕ⼸¸ö±êÇ©µÄº¬Òå
Cache-Control:Ö¸¶¨ÇëÇóºÍÏìÓ¦×ñѵĻº´æ»úÖÆ¡£ÔÚÇëÇóÏûÏ¢»òÏìÓ¦ÏûÏ¢ÖÐÉèÖÃCache-Control²¢²»»áÐÞ¸ÄÁíÒ»¸öÏûÏ¢´¦Àí¹ý³ÌÖеĻº´æ´¦Àí¹ý³Ì¡£ÇëÇóʱµÄ»º´æÖ¸Áî°üÀ¨no-cache¡¢no-store¡¢max-age¡¢max-stale¡¢min-fresh¡¢only-if-cached£¬ÏìÓ¦ÏûÏ¢ÖеÄÖ¸Áî°üÀ¨public¡¢private¡¢no-cache¡¢no-store¡¢no-transform¡¢must-revalidate¡¢proxy-revalidate¡¢max-age¡£¸÷¸öÏûÏ¢ÖеÄÖ¸ÁÒåÈçÏ£º
PublicָʾÏìÓ¦¿É±»Èκλº´æÇø»º´æ¡£
Privateָʾ¶ÔÓÚµ¥¸öÓû§µÄÕû¸ö»ò²¿·ÖÏìÓ¦ÏûÏ¢£¬²»Äܱ»¹²Ïí»º´æ´¦Àí¡£ÕâÔÊÐí·þÎñÆ÷½ö½öÃèÊöµ±Óû§µÄ²¿·ÖÏìÓ¦ÏûÏ¢£¬´ËÏìÓ¦ÏûÏ¢¶ÔÓÚÆäËûÓû§µÄÇëÇóÎÞЧ¡£
no-cacheָʾÇëÇó»òÏìÓ¦ÏûÏ¢²»Ä
Ïà¹ØÎĵµ£º
PHP±äÁ¿
1¡¢PHP±äÁ¿µÄ¶¨Òå
ÔÚPHPÖУ¬Ê¹ÓÃ×Ö·û´®µÄÃÀÔª·ûºÅ£¨$£©ºóÃæ¸úÉÏÒ»¸ö±êʾ·û£¬¼´±äÁ¿Ãû³Æ£¬ÀýÈ磺$name¡¢$age£¬±íʾһ¸ö±äÁ¿¡£
2¡¢±äÁ¿Ãû³ÆµÄÃüÃû¹æÔò
±äÁ¿Ãû³ÆÓÉ×Öĸ¡¢Ï»®Ïß¿ªÍ·£¬ºóÃæ¸úÉÏÈÎÒâÊýÁ¿µÄ×Öĸ¡¢Êý×Ö»òÕßÏ»®Ïß
±äÁ¿Ãû³Æ²»ÄÜÒÔÊý×Ö¿ªÍ·£¬Öм䲻ÄÜÓпոñ
±äÁ¿Ãû³Æ¿ÉÒÔʹÓÃÖÐÎÄ
±äÁ¿Ãû³Æ¶Ô´óСд ......
PHPÊÇʲô£¿
PHPÊÇÒ»ÖÖ¿ª·¢ÓïÑÔ£¬Ê¼´´ÓÚ1995Ä꣬¹Ù·½ÍøÕ¾www.php.net
PHPµÄÈ«³ÆÊdz¬Îı¾Ô¤´¦ÀíÆ÷£¨Hypertext Preprocessor£©
PHPÊÇÒ»ÖÖ´´½¨¶¯Ì¬½»»¥ÍøÕ¾µÄ·þÎñÆ÷¶Ë½Å±¾ÓïÑÔ£¬Í¨³£ÐèÒª´îÅäApache£¨Web·þÎñÆ÷Èí¼þ£©Ò»ÆðʹÓ㬲»¹ýÒ²¿ÉÒÔ´îÅäÆäËû·þÎñÆ÷Èí¼þ£¬ÈçIIS¡¢NginxµÈ¡£
PHPÊÇ×îÁ÷ÐеÄÍøÕ¾¿ª·¢ÓïÑÔÖ®Ò»£¬ÍêÈ«Ãâ·Ñ ......
±¾½Ì³ÌÀ´×ÔPHP½Ì³ÌÍø(www.phpjc.cn)
PHP ÖеıäÁ¿
±äÁ¿ÓÃÓÚ´æ´¢Öµ£¬±ÈÈçÊý×Ö¡¢Îı¾×Ö·û´®»òÊý×é¡£
Ò»µ©ÉèÖÃÁËij¸ö±äÁ¿£¬ÎÒÃǾͿÉÒÔÔڽű¾ÖÐÖظ´µØʹÓÃËü¡£
PHP ÖеÄËùÓбäÁ¿¶¼ÊÇÒÔ $ ·ûºÅ¿ªÊ¼µÄ£¬±äÁ¿ÃûÊÇÇø·Ö´óСдµÄ¡£
ÔÚ PHP ÖÐÉèÖñäÁ¿µÄÕýÈ··½·¨ÊÇ£º
$var_name = value;
PHP µÄÈëÃÅÕßÍùÍù»áÍü¼ÇÔÚ±äÁ¿µÄÇ°Ãæµ ......
PHPeclipse¿ÉÒÔʵÏÖ±£´æphpÎļþºó×Ô¶¯¼ì²éPHPµÄÓï·¨´íÎó,µ«ÊÇÎÒµÄEclipse+PDTȴûÓÐÕâ¸ö¹¦ÄÜ. µ«ÊÇÎҲ鿴ÁËzend.com¹ØÓÚPDTµÄÊÖ²á,·¢ÏÖPDTÊÇÓÐÕâ¸ö¹¦Äܵİ¡. ÖÕÓÚ,ÊÔÁ˼¸Ìì,ÕÒµ½½â¾öµÄ·½·¨ÁË: ÔÚPHP explorer ViewµÄÏîÄ¿Ãû³ÆÉϵã»÷ÓÒ¼ü, Ñ¡Ôñconfigure->Add PHP Support... ÊÀ½çÊÇÄÇôµÄÃÀºÃ~~~ ......
×Ô¶¯×ªÏò£¬Ò²½Ð×Ô¶¯Öض¨Ïò¡£×Ô¶¯Ìøת£¬Ö¸µ±·ÃÎÊÓû§µÇ½µ½Ä³Íøվʱ£¬×Ô¶¯½«Óû§×ªÏòÆäËüÍøÒ³µØÖ·µÄÒ»ÖÖ¼¼Êõ¡£×ªÏòµÄÍøÒ³µØÖ·¿ÉÒÔÊÇÍøÕ¾ÄÚµÄÆäËüÍøÒ³£¬Ò²¿ÉÒÔÊÇÆäËüÍøÕ¾¡£Í¨³£Çé¿öÏ£¬ä¯ÀÀÆ÷»áÊÕµ½Ò»¸öÍøÒ³£¬¸ÃÒ³Ã溬ÓÐ×Ô¶¯¼ÓÔØÒ»ÆäËüÍøÒ³µÄ´úÂë¡£¸ÃÒ³ÃæÓпÉÄÜÔÚ·þÎñÆ÷¶Ë±»×ª»»£¬ÕâÑùµÄ»°£¬ä¯ÀÀÆ÷Ö»ÊÕµ½Ò»¸öÒ³Ã棬¶ø×Ô¶¯×ª ......