I was using PHP with some other people today, and one of them found out that I had access to the manual to update it. He said he had experienced the following problem:
Their dev server was running an older version of PHP (4.0.x). Their production server was running 4.2.x. He was using the following code to delete a cookie: setcookie($name, $value, '/', '') He said that the behavior changed in two ways between 4.0.x and 4.2.x: 1. Single quotes for setcookie() are no longer allowed. 2. Expiration date must be 0, not an empty string. I looked at the setcookie() documentation and it didn't seem to mention this specifically. I'm not sure whether this needs to be added, since I'm not familiar with setcookie() myself. Could someone comment on why this changed and whether that should be added to the manual? Thanks, Erica -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php