Cookie cookie htm form actionsavecookie php methodget input Slides: 8 Download presentation ������� Cookie (cookie. htm) >form action=savecookie. php method=get< >input name=u size=40><br< >input type=submit< />form< http: //www. thaiall. com/asp Page: 3 ������� �� �(savecookie. php( ? > if (isset($_GET["u} (([" setcookie("u", $_GET['u'], time()+3600; ( echo "keep ok; " { <? >a href=showcookie. php>show cookie</a< ����� http: //www. thaiall. com/php/indexo. html http: //www. thaiall. com/asp Page: 4 ������ cookie (showcookie. php) >body< _$=? >COOKIE['u<? ; [' >hr< ? > echo $_COOKIE['u ; [' <? />body< http: //www. thaiall. com/asp Page: 5 ������ Session <? session_start; () if (!isset($_SESSION['u']) &&isset($_REQUEST["u} (([" _$ SESSION['u'] = $_REQUEST["u; [" { <? http: //www. thaiall. com/asp Page: 6 ���� Session <? session_start; () if (!isset($_SESSION['count} (([' echo $_SESSION['count; [' { <? http: //www. thaiall. com/asp Page: 7 ������ Session <? session_start; () if (!isset($_SESSION['count} (([' _$ SESSION['count'] = 1; {else} _$ SESSION['count; ++[' { echo $_SESSION['count; [' <? http: //www. thaiall. com/asp Page: 8 Http //go.hrw.com/atlas/norm htm/world.htmPhp php://inputCookie lemon cookie feedbackCookie monster who stole the cookieCookie monster imagesCookie lemon cookie feedbackPhp cookiePerbedaan session dan cookiesWeb.facebook.com.php