note 49657 added to function.setcookie

From: Date: Thu, 03 Feb 2005 23:04:15 +0000
Subject: note 49657 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-84490@lists.php.net to get a copy of this message
Calling vHTTP_COOKIE_VARS(); you may view all the cookies.- <?php function vHTTP_COOKIE_VARS() { global $HTTP_COOKIE_VARS; // $HTTP_COOKIE_VARS is not exist in a function ForEach ( $HTTP_COOKIE_VARS As $vIndex => $vValue ) { if( is_array( $vValue ) ) { echo '$HTTP_COOKIE_VARS[\''. $vIndex.'\'] == '.$vValue.'<br>'; // Show Array forEach ( $vValue As $vIndex2 => $vValue2 ) { echo '$HTTP_COOKIE_VARS[\''. $vIndex.'\'][\''. $vIndex2.'\'] == "'. $vValue2.'"<br>'; } } else { echo '$HTTP_COOKIE_VARS[\''. $vIndex.'\'] == "'. $vValue.'"<br>'; } } } ?> ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49657 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49657&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49657&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49657&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49657&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49657&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49657&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#84490) next »