Advertisement
nontawat1996

index

Apr 17th, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.82 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Pramool</title>
  6. </head>
  7.  
  8. <body>
  9. <?
  10. if($_POST["user"]!="")
  11. {
  12.     $_COOKIE["user"]=$_POST["user"];
  13.     $_COOKIE["pass"]=$_POST["pass"];
  14.     $_COOKIE["katoo"]=$_POST["katoo"];
  15. }
  16. $user=$_COOKIE["user"];
  17. $pass=$_COOKIE["pass"];
  18. $katoo=$_COOKIE["katoo"];
  19. ?>
  20. <form id="form1" name="form1" method="post" action="">
  21. Username : <input name="user" type="text" value="<?=$user?>"  /><br>
  22. Password : <input name="pass" type="text" value="<?=$pass?>"  /><br>
  23. Katoo : <input name="katoo" type="text" value="<?=$katoo?>" /><br>
  24. <a href="set.html">Set Cookie</a>
  25. </form>
  26. </body>
  27. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement