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

PHPÈçºÎÉèÖÃÒ³Ã滺´æ1ÐÇÆÚ - PHP / »ù´¡±à³Ì

ÈçÌ⣬Ôõôд¸öheadÍ·²¿ ÈÃÒ³Ã滺´æ1ÐÇÆÚ¡£
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
Äã°ÑÀïÃæµÄʱ¼ä£¬¸Ä³Éµ±Ç°Ê±¼ä¼ÓÉÏÒ»¸öÐÇÆÚ
¼ÇµÃҪת»»³Égmtʱ¼ä

ÎÒÕâÑùдµÄ ²»ÖªµÀÐв»ÐС£
Ò»¸öÐÇÆÚºó¹ýÆÚ£º
PHP code:

header("Expires: ". gmdate("D, d M Y H:i:s", time() + 604800) . " GMT");
header("Cache-Control: no-cache");

header("Pragma: no-cache");




¹Ø×¢£¡

¹Ø×¢£¬Ò»Ö±¶Ô¹ýÆÚʱ¼äÕâ¿é²»Êì¡£

ÕâÀïÓиöÎÊÌâ²»ÊǺÜÇå³þ¡£

ÉèÖÃÒ»¸öÐÇÆÚºó¹ýÆÚ¡£Õâ¸öÏÖÔÚʱ¼äÔõôȷÈϵģ¿

´úÂëÉ쵀 header("Expires: ". gmdate("D, d M Y H:i:s", time() + 604800) . " GMT");

ÆäÖÐgmdate("D, d M Y H:i:s", time() £¬ÊÇʲôʱºòµÄʱ¼ä£¿ºÜ¶àÈË˵Êǵ±Ç°Ê±¼ä£¬µ«Õâ¸öµ±Ç°Ê±¼äµÄµ±Ç°ÊÇÖ¸Äĸö£¿´ÓÄĸöʱºòËãÆðÀ´µÄ£¿

//ÉèÖôËÒ³ÃæµÄ×îºó¸üÐÂÈÕÆÚ(ÓøñÁÖÍþÖÎʱ¼ä±íʾ)Ϊµ±Ì죬¿ÉÒÔÇ¿ÖÆä¯ÀÀÆ÷»ñÈ¡×îÐÂ×ÊÁÏ  
PHP code:
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
 

ÏñÕâ¶Î£¬×¢ÊÍ˵µ±Ìì¡£²»ÊǺÜÃ÷°×µ±ÌìÊÇʲôÒâ˼£¿
ÒòΪ ÿÌìµÇ½¶¼¿ÉÒÔ˵Êǵ±Ìì°¡¡£¡£¡£
 


¶¥!
ѧϰ!


Ïà¹ØÎÊ´ð£º

Çó½ÌPHPÖÐstr_replaceº¯ÊýÎÊÌâ - PHP / »ù´¡±à³Ì

ÇëÎÊ£¬ÒÔÏ´úÂ룬Ϊʲô²»¹ÜÓ㿾Ístr_replaceÕâ¸öº¯Êý£¬Ì滻ôÓÐÆð×÷Óã¿
PHP code:
$gg='<script type=\"text/JavaScript\">
alimama_pid=\"mm_14281022_2030060_8250750\";
alima ......

ÕÒ¹¤×÷ºÍ¶Ô¸ÕѧPHPµÄÅóÓѵÄÖÒ¸æ - PHP / ¿ªÔ´×ÊÔ´

Ä¿Ç°ÔÚÎ人ÕÒ¹¤×÷  
·¢Ïִ󲿷ֹ«Ë¾ÎÞÍâºõÁ½ÖÖ
Ò»ÖÖÊǸãÍâ°üµÄ ÒªÓÃzend,cakephpµÈÍâ¹ú¿ò¼Ü
»¹ÒªÊìϤÍâ¹ú¿ªÔ´ÏµÍ³
Ò»ÖÖ¹úÄÚµÄ ÎÞÍâºõ dedecms ecshop shopexÕ⼸ÖÖ¸ÄÕ¾µã ÓеĹ«Ë¾ÉõÖÁÄÃһЩ¸üСµÄϵͳ¸ ......

php¸újspÖ®¼äsession¹²ÏíµÄÎÊÌâ - Java / Web ¿ª·¢

×î½üÒ»¸öÏîÄ¿ÖÐÓöµ½Ò»¸öÎÊÌ⣺ÔÚÔ­ÓеÄÒ»Ì×ϵͳÖÐ(php¿ª·¢)Ìí¼ÓһЩС¹¦ÄÜ(jsp¿ª·¢)£¬Ô­À´Óû§ÏµÍ³¶¼ÊÇphp¿ª·¢µÄ£¬ÎÒÈçºÎÔÚjsp¿ª·¢µÄ¹¦ÄÜÖÐ×öµ½Óû§ÐÅÏ¢sessionͬ²½ÄØ£¿ ÓÐÈËÊÇ·ñÓÐ×ö¹ýÀàÒÔÏîÄ¿£¬ÏëÌýÌý´ó¼ÒµÄ¿´·¨
......

phpÈç¹û»ñÈ¡µ±Ç°Ò³ÃæÍøÖ·²¢Êä³ö - PHP / »ù´¡±à³Ì

¾ÍÊÇÎÒÔÚij¸öÍøÒ³²åÈëÁËÒ»¸öphpÁ´½Ó
ÎÒÏë»ñµÃÄǸöÍøÖ·µÄµØÖ·¶øÇÒÒªÊä³ötxt¸ñʽ»òÆäËû¸ñʽ¡£Ó¦¸ÃÈçºÎʵÏÖ£¿£¿£¿

ÒýÓÃ
PHP code
<?php
if(!file_exists("ceshi.txt")){
fopen("ceshi. ......

php¾­Ñé·á¸»µãµÄÇë½â¾öһϠ- PHP / Framework

ÈçÉÏËùʾ£¬Èç¹ûÎÒ¶¨ÒåÁËÒ»¸ölayout()º¯Êý£¬ÎÒµ÷ÓÃʱÓвÎÊýÔÙcontent£¬ÎÒÏëÔÚlayoutº¯ÊýÀïÃ沶׽contentÕâ¸ö²ÎÊý£¬ÄÜ·ñ×öµ½£¿¼´ÎÒÔÚlayoutº¯ÊýÄÜÊä³öcontentÕ⼸¸ö×Öĸ£¬±ÈÈçphpµÄ__get($name)º¯Êý£¬µ±ÎÒÔÚÀàÖв¢Î´¶¨ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ