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

phpºóÍËÒ»Ò³±íµ¥ÄÚÈݵı£´æ


php±íµ¥ÔÚÌá½»Ö®ºóÔÙºóÍË,±íµ¥µÄÄÚÈÝĬÈÏÊDZ»Çå¿ÕµÄ(ʹÓÃsession_startµÄʱºò),
½â¾ö·½·¨ÊÇÔÚsession_start()Ö®ºó,×Ö·ûÊä³ö֮ǰдÉÏ
header(“Cache-control: private”);  
 
ÍøÒ³µÄ»º´æÊÇÓÉHTTPÏûϢͷÖеēCache-control”À´¿ØÖƵģ¬³£¼ûµÄÈ¡ÖµÓÐprivate¡¢no- cache¡¢max-age¡¢must-revalidateµÈ£¬Ä¬ÈÏΪprivate¡£Æä×÷Óøù¾Ý²»Í¬µÄÖØÐÂä¯ÀÀ·½Ê½·ÖΪÒÔϼ¸ÖÖÇé¿ö£º
£¨1£© ´ò¿ªÐ´°¿Ú
    ֵΪprivate¡¢no-cache¡¢must-revalidate£¬ÄÇô´ò¿ªÐ´°¿Ú·ÃÎÊʱ¶¼»áÖØзÃÎÊ·þÎñÆ÷¡£
¶øÈç¹ûÖ¸¶¨ÁËmax-ageÖµ£¬ÄÇôÔÚ´ËÖµÄÚµÄʱ¼äÀï¾Í²»»áÖØзÃÎÊ·þÎñÆ÷£¬ÀýÈ磺
Cache-control: max-age=5(±íʾµ±·ÃÎÊ´ËÍøÒ³ºóµÄ5ÃëÄÚÔٴηÃÎʲ»»áÈ¥·þÎñÆ÷)
£¨2£© ÔÚµØÖ·À¸»Ø³µ
    ֵΪprivate»òmust-revalidateÔòÖ»ÓеÚÒ»´Î·ÃÎÊʱ»á·ÃÎÊ·þÎñÆ÷£¬ÒÔºó¾Í²»ÔÙ·ÃÎÊ¡£
    ֵΪno-cache£¬ÄÇôÿ´Î¶¼»á·ÃÎÊ¡£
    ֵΪmax-age£¬ÔòÔÚ¹ýÆÚ֮ǰ²»»áÖظ´·ÃÎÊ¡£
£¨3£© °´ºóÍË°´Å¤
   ֵΪprivate¡¢must-revalidate¡¢max-age£¬Ôò²»»áÖØ·ÃÎÊ£¬
   ֵΪno-cache£¬Ôòÿ´Î¶¼Öظ´·ÃÎÊ
£¨4£© °´Ë¢Ð°´Å¤
¡¡ ÎÞÂÛΪºÎÖµ£¬¶¼»áÖظ´·ÃÎÊ
Cache-controlֵΪ“no-cache”ʱ£¬·ÃÎÊ´ËÒ³Ãæ²»»áÔÚInternetÁÙʱÎÄÕ¼ÐÁôÏÂÒ³Ã汸·Ý¡£
ÁíÍ⣬ͨ¹ýÖ¸¶¨“Expires”ÖµÒ²»áÓ°Ïìµ½»º´æ¡£ÀýÈ磬ָ¶¨ExpiresֵΪһ¸öÔçÒѹýÈ¥µÄʱ¼ä£¬ÄÇô·ÃÎÊ´ËÍøʱÈôÖظ´ÔÚµØÖ·À¸°´»Ø³µ£¬ÄÇôÿ´Î¶¼»áÖظ´·ÃÎÊ£º Expires: Fri, 31 Dec 1999 16:00:00 GMT
±ÈÈ磺½ûÖ¹Ò³ÃæÔÚIEÖлº´æ
httpÏìÓ¦ÏûϢͷ²¿ÉèÖãº
CacheControl = no-cache
Pragma=no-cache
Expires = -1
ExpiresÊǸöºÃ¶«¶«£¬Èç¹û·þÎñÆ÷ÉϵÄÍøÒ³¾­³£±ä»¯£¬¾Í°ÑËüÉèÖÃΪ-1£¬±íʾÁ¢¼´¹ýÆÚ¡£Èç¹ûÒ»¸öÍøҳÿÌìÁ賿1 µã¸üУ¬¿ÉÒÔ°ÑExpiresÉèÖÃΪµÚ¶þÌìµÄÁ賿1µã¡£
µ±HTTP1.1·þÎñÆ÷Ö¸¶¨CacheControl = no-cacheʱ£¬ä¯ÀÀÆ÷¾Í²»»á»º´æ¸ÃÍøÒ³¡£
¾Éʽ HTTP 1.0 ·þÎñÆ÷²»ÄÜʹÓà Cache-Control ±êÌâ¡£
ËùÒÔΪÁËÏòºó¼æÈÝ HTTP 1.0 ·þÎñÆ÷£¬IEʹÓÃPragma:no-cache ±êÌâ¶Ô HTTP ÌṩÌØÊâÖ§³Ö¡£
Èç¹û¿Í»§¶Ëͨ¹ý°²È«Á¬½Ó (https://)Óë·þÎñÆ÷ͨѶ£¬ÇÒ·þÎñÆ÷ÔÚÏìÓ¦Öзµ»Ø Pragma:no-cache ±êÌ⣬
Ôò Internet Explorer²»»á»º´æ´ËÏìÓ¦¡£×¢Ò⣺Pragma:no-cache ½öµ±ÔÚ°²È«Á¬½ÓÖÐʹÓÃʱ²Å·ÀÖ¹»º´æ£¬Èç¹ûÔÚ·Ç°²È«Ò³ÖÐ


Ïà¹ØÎĵµ£º

php Á¬½ÓÊý¾Ý¿âµÄÀà

<?php
class Access//AccessÊý¾Ý¿â²Ù×÷Àà
{
var $databasepath,$constr,$dbusername,$dbpassword,$link;//ÀàµÄÊôÐÔ
function Access($databasepath,$dbusername,$dbpassword)//¹¹Ô캯Êý
{
$this->databasepath=$databasepath;
$this->username=$d ......

PHP²Ù×÷AccessÊý¾Ý¿â

9.3  ͨ¹ýPHP²Ù×÷AccessÊý¾Ý¿â
9.3.1  Á¬½ÓAccessÊý¾Ý¿â
ÔÚPHPÖÐÁ¬½ÓAccessÓÐÈçÏÂ3ÖÖ·½Ê½¡£
£¨1£©´´½¨ÏµÍ³Êý¾ÝÔ´£¬ÓÃPHPÌṩµÄODBCº¯Êý
¼´¿É¡£
£¨2£©Í¬Ñù¿ÉÒÔʹÓÃPHPµÄODBCº¯Êý£¬µ«²»´´½¨
Êý¾ÝÔ´¡£¿ª·ÅÊý¾Ý¿âÁ¬½Ó£¨Open DateBase
Conection£¬ODBC£©ÊÇWindows Open
Server£¨¿ª·Å·þÎñ£©API£¨WOSA£©²úÆ·Ö®Ò ......

±È½Ï php IDE vs 2010


¸öÈ˱ȼÛÈÏ¿É£¬ÏÖÔÚÊÇÓà netbean 6.8 ¹Ù·½Ìṩ²å¼þºÜÆëÈ«¡£
http://www.ibm.com/developerworks/cn/opensource/os-php-ide/
http://www.pusuo.net/2009-09-19/110884581.html
ÔÙÓбȽϹØ×¢vs 2010µÄÕýʽ°æ£¬ÏëÒªºÍvs.net£¬Ô­À´ÊÇ°²×°ÔÚvs2008 ÒÔÉÏ°æ±¾µÄ£¬ÏÖÔÚ²»ÖªµÀÊDz»ÊÇ¿ÉÒÔÕûºÏµ½vs 2010
Èç¹û¿ÉÒÔÕûºÏµÄ»°£¬ÄÇôΠ......

PHPÌáÈ¡8684¹«½»Êý¾Ý

×î½üÒ»ÄêÀ´Ò»Ö±ÔÚʹÓÃfedora£¬·¢ÏÖlinuxÕæÊÇÌ«ÊʺÏÎÒÁË£¬Ï²»¶Ð´³ÌÐò£¬×Ô¼ºÏ¹µ¹ÌÚ£¬°¦windowsÎóÎÒ´óºÃÄ껪……
ÓÃPHPдÁËÒ»¶Î³ÌÐòÓÃÓÚÌáÈ¡ÍøÒ³ÖеÄÊý¾Ý£¬ÏàÐÅËÑË÷ÒýÇæÒ²ÊDz¶àµÄÏë·¨£¬Ö»²»¹ýËûÃÇÊý¾Ý¶à£¬Ëã·¨ºÃЩ£¬ºÇºÇ
[php]
<?php
/*
*´ËÎļþµÄÄ¿±êÊÇ×Ô¶¯ËѼ¯´æ´¢8684ÉϵÄÉîÛÚÊй«½»Êý¾Ý
*
*ÓÉ ......

PHPÓʼþÊÕ·¢£¬ºÍ±àÂëÎÊÌâ¡£Êý¾ÝÆ¥Åä

<?php
header("content-type:text/html; charset=UTF-8");
/*
 * record kid words and insert into database
 * user by sending email to publication kid words
 *
 */
include 'POP3.php';
include 'email_class.php';
include 'Mail_mimeDecode.php';
//include 'include/compatible ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ