php cookie //add cookie $time = time() + 3600 * 24 * 30; setcookie('UserIId', $_GET["userid"], $time); setcookie('UserPwd', $_GET["pwd"], $time); //del cookie $time = time() - 3600; setcookie('UserIId', '', $time); setcookie('UserPwd', '',
php cookie
//add cookie
$time = time() + 3600 * 24 * 30;
setcookie('UserIId', $_GET["userid"], $time);
setcookie('UserPwd', $_GET["pwd"], $time);
//del cookie
$time = time() - 3600;
setcookie('UserIId', '', $time);
setcookie('UserPwd', '', $time);
//get cookie
$_COOKIE["UserIId"];
javascript
//add cookie
function saveTmpEmail(){
var Then=new Date();
var uemailStr=document.getElementById("login_email").value;
Then.setTime(Then.getTime() +3600*1000*24*300 );
document.cookie='UserIId='+uemailStr+';expires='+ Then.toGMTString();
document.cookie='UserPwd=55555;expires='+Then.toGMTString();
}
//取cookie
function getCookieData(label){
var labelLen=label.length;
var cLen=document.cookie.length;
var i=0;
var cEnd;
while(i
if(document.cookie.substring(i,j)==label){
cEnd=document.cookie.indexOf(";",j);
if(cEnd==-1){
cEnd=document.cookie.length;
}
return document.cookie.substring(j+1,cEnd);
}
i++
}
return ""
}

ホットAIツール

Undresser.AI Undress
リアルなヌード写真を作成する AI 搭載アプリ

AI Clothes Remover
写真から衣服を削除するオンライン AI ツール。

Undress AI Tool
脱衣画像を無料で

Clothoff.io
AI衣類リムーバー

AI Hentai Generator
AIヘンタイを無料で生成します。

人気の記事

ホットツール

ゼンドスタジオ 13.0.1
強力な PHP 統合開発環境

AtomエディタMac版ダウンロード
最も人気のあるオープンソースエディター

ドリームウィーバー CS6
ビジュアル Web 開発ツール

ZendStudio 13.5.1 Mac
強力な PHP 統合開発環境

EditPlus 中国語クラック版
サイズが小さく、構文の強調表示、コード プロンプト機能はサポートされていません
