topical media & game development

talk show tell print

basic-php-12-setcookie-un.php / php



  <?php
  username = "bp5am";
  setcookie('username', username, time() + 60 * 60 * 24 * 30);
  // * sets cookie for 30 days *
  header("Location: setcookie_pw.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.