PHP學習 Cookie和Session

<?php
header("Content-type:text/html;charset=utf-8");
session_start();php

$_SESSION['count'];html

$_POST
$_GET
setcookie("UserName","小丸子",time()+60*60*24);
setrawcookie("CustomerName","小丸子",time()+60*60*24);
$URL = $_POST["mySelect"];cookie

$_COOKIE["UserName"];session

header("Location:$URL");
?>htm

相關文章
相關標籤/搜索