From: [EMAIL PROTECTED]
Operating system: linux 2.4
PHP version: 4.0CVS-2002-03-04
PHP Bug Type: Output Control
Bug description: setcookie('cookie_var'); # In CVS. does not delete cookie
'cookie_var'.
FYI, my CVS is dated from Friday, March 1. If this has been fixed in the
past few days, forgive me.
in 4.2.0-dev, setcookie('T'), does not delete the cookie var 'T'. In
4.0.6 this works just fine.
Jeremy
---
Have a cookie called 'T' set to something.
<?php
# page 1
# Delete the cookie
setcookie('T');
echo 'hi';
?>
<?php
# page 2
# The is the cookie still set? Yes, for me. it is set, but the
# value is empty.
echo phpinfo();
?>
--
Edit bug report at http://bugs.php.net/?id=15864&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15864&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15864&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15864&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15864&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15864&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15864&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15864&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15864&r=submittedtwice