IHYPRESS PROGRAMMING
PHP programs with code and output for beginners
php logo
HOME | ASP | C | CSS | GNUPLOT | HTML | JAVASCRIPT | PERL | PHP | PYTHON | RUBY | SVG
PHP ❯ Setting a Cookie
<04>
<div style="font-family:monospace; font-size:24px;"> The cookie has been set for the date of the last visit by placing this statement in the header before the &lt;html&gt; tag:<br> <b>setcookie('lastVisit', date("G:i - m/d/y"));</b> </div>
Hergestellt in Deutschland / Made in Germany
The cookie has been set for the date of the last visit by placing this statement in the header before the <html> tag:
setcookie('lastVisit', date("G:i - m/d/y"));
COPYRIGHT © 2015-2024 IHY PRESS Frankfurt am Main 60329 Deutschland