I want to put some Date() value in Cookies which I would like to use the same data in other pages later. I do something wrong and I do not understand what is a problem?
<?php
$value = date('d-m-Y H:i:s');
setcookie("DATENEW", $value, time()+3600*24);
echo $HTTP_COOKIE_VARS["DATENEW"];
?>
I would much appreciate you suggestions and guidance! Thank you in advance!