note 50983 added to function.setcookie
| From: | francisco at hcinco dot com dot br | Date: | Tue, 15 Mar 2005 20:43:16 +0000 |
| Subject: | note 50983 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86502@lists.php.net to get a copy of this message | ||
para verificar apenas c o cokie existe para nao precisar declarar um das variaveis do cokie
<?
if ( ! ( empty( $_COOKIE ) ) ) {
echo $_COOKIE['COKIE_NAME'];
echo $_COOKIE['COKIE_PASS'];
};
?>
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50983
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50983&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50983&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50983&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50983&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50983&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50983&report=yes
Search -- http://master.php.net/manage/user-notes.php