note 49657 deleted from function.setcookie by nlopess

From: Date: Fri, 04 Feb 2005 10:55:57 +0000
Subject: note 49657 deleted from function.setcookie by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-84512@lists.php.net to get a copy of this message
Note Submitter: José Enrique Serrano Expósito Reason: useless ---- 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>'; } } } ?>

« previous php.notes (#84512) next »