浠婂ぉ鍒╃敤 Cookie 鍋氱綉绔欑殑鐢ㄦ埛鐧诲綍锛岀粡杩囪皟璇曪紝鐢?br />
setcookie("username", "username", time()+1000,"/php100/");
绛夊偍瀛樼敤鎴风殑鐧诲綍淇℃伅锛岀劧鍚庡埄鐢?br />
setcookie("username", "", time()-3600);
鍋?閫€鍑猴紝鍦↖E涓嬫祴璇曟病鏈変换浣曢棶棰樸€傛棦鐒跺仛缃戠珯锛屽氨瑕佸吋瀹瑰敖鍙兘澶氱殑娴忚鍣紝鍛靛懙銆備簬鏄湪 Firefox 涓祴璇曪紝鐧婚檰涓€鍒囨甯革紝褰?鎺ㄥ嚭鏃讹紝閬囧埌浜嗛夯鐑︺€傛€庝箞涔熶笉浼氶€€鍑猴紝鐢ㄦ埛鎬绘槸鍦ㄧ櫥褰曠姸鎬併€備簬鏄煡鐪嬩簡 IE銆丗irefox 涓璫ookie璁板綍鐨勫尯鍒紝缁忚繃娴嬭瘯锛屾墠鎭嶇劧澶ф偀銆?br />
鍘熸潵濡傛灉娌℃湁鎸囧畾 setcookie() 鐨勭鍥涗釜鍙傛暟锛堝悎娉曡矾寰勫弬鏁帮級锛岄粯璁や細鎶婂綋鍓嶇洰褰曚綔涓哄悎娉曡矾寰勶紝鑰屾垜娴嬭瘯鐨勮矾寰勪负锛歨ttp://127.0.0.1/php/rss2fla/data/log.php 锛屾墍浠ュ鑷寸櫥闄嗗拰閫€鍑烘椂 鎵€璁剧疆鐨?cookie 璺緞涓嶅悓銆?br />
IE姣擣irefox瑕佷汉鎬у寲锛屽懙鍛碉紝褰撶編鎸囧畾璺緞鏃讹紝浼氳鐩栧綋鍓?IP 涓嬬殑鍚屽悕Cookie鍙橀噺锛岃€孎ireFox姣旇緝涓ユ牸浜嗭紝瀵艰嚧鍙堥噸鏂板缓浜嗕釜鍙橀噺……
鐜板湪瑙夊緱鍨勬柇鍦ㄦ煇浜涙柟闈篃涓嶆槸浠€涔堝潖澶勶紝濡傛灉灏?IE 涓€涓祻瑙堝櫒锛屽氨涓嶇敤杩欎箞楹荤儲浜?hellip;…鍝堝搱……