Search This Blog

display cookies in php

<?php

// already user , visitor cookies set

// to Print cookies
echo $_COOKIE["user"].'<br>'.$_COOKIE["visitor"];

?>

output :

here displays already set cookies like "user" , "visitor"

Share Links

Related Posts Plugin for WordPress, Blogger...