php-cookieとsession-1217
01.php
02.html
02.php
03.php
04.php
05.php
06.php
07.php
readcookie.php
setcookie.php
クッキーの破棄
02.html
02.php
プライバシーページ
03.php
04.php
" !" .
( ),
.
: !!!
:
,
:
" 1 "," "," "
, !
***/
// !
setcookie('user','zhangsan');
echo ' zhangsan !';
05.php
06.php
07.php
10) {
array_pop($his);
}
}
setcookie('history',implode('|',$his));
$id = isset($_GET['id'])?$_GET['id']:0;
?>
-
readcookie.php
setcookie.php
クッキーの破棄