note 111669 deleted from function.setcookie by aharvey

From: Date: Thu, 14 Mar 2013 17:00:14 +0000
Subject: note 111669 deleted from function.setcookie by aharvey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-194076@lists.php.net to get a copy of this message
Note Submitter: razvan_bc at yahoo dot com ---- Frank here is working your script(with some small modifications) <?php setcookie("cookie[three]", "cookiethree"); setcookie("cookie[two]", "cookietwo"); setcookie("cookie[one]", "cookieone"); foreach(@$_COOKIE[cookie] as $vr => $vl){ print('['.$vr.'='.$vl.'<br>'); } //print ($_COOKIE[cookie][one]); print_r(@$_COOKIE[cookie]); echo(@$_COOKIE[cookie][one]); ?>

« previous php.notes (#194076) next »