Creating a Test Cookie : Cookie : Cookie Session PHP Source Code


PHP Source Code » Cookie Session » Cookie »

 

Creating a Test Cookie




<?php
  $string_name = " testcookie";
  $string_value = "This is a test cookie";
  $expiry_info = time()+259200;
  $string_domain = "localhost.localdomain";

  setcookie($string_name, $string_value, $expiry_info, $string_domain);
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Cookie Session
» Cookie