topical media & game development

talk show tell print

basic-php-12-setcookie-pw.php / php



  <?php
  password = "bp5ampass";
  setcookie('password', password, time() + 60 * 60 * 24 * 30);
  // * sets cookie for 30 days *
  header("Location: cookies_set.php");
  ?>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.