note 120794 added to function.setcookie
| From: | nacho at casinelli dot com | Date: | Sun, 12 Mar 2017 23:33:06 +0000 |
| Subject: | note 120794 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-208894@lists.php.net to get a copy of this message | ||
It's worth a mention: you should avoid dots on cookie names.
<?php
// this will actually set 'ace_fontSize' name:
setcookie( 'ace.fontSize', 18 );
?>
----
Server IP: 72.52.91.14
Probable Submitter: 181.1.20.250
----
Manual Page -- http://php.net/manual/en/function.setcookie.php
Edit -- https://master.php.net/note/edit/120794
Del: integrated -- https://master.php.net/note/delete/120794/integrated
Del: useless -- https://master.php.net/note/delete/120794/useless
Del: bad code -- https://master.php.net/note/delete/120794/bad+code
Del: spam -- https://master.php.net/note/delete/120794/spam
Del: non-english -- https://master.php.net/note/delete/120794/non-english
Del: in docs -- https://master.php.net/note/delete/120794/in+docs
Del: other reasons-- https://master.php.net/note/delete/120794
Reject -- https://master.php.net/note/reject/120794
Search -- https://master.php.net/manage/user-notes.php