Cookie Implementation


In PHP you can use cookie like this

To set Cookie

<?php

setcookie("cookie1","This is cookie");

?>

To get cookie

<?php

echo $_COOKIE["cookie1"];

?>

Leave a Reply




This some posting which are related to this article :
  • How to make Cookies Expired
  • Session Implementation
  • Privacy Policy
  • just read related article


    Some random post which may be interesting :
    this article is selected randomly