if i want to delete and set a cookie with the same name, the book "PHP for professionals" said that I would have to use
<?php
//set a new one
setcookie("username", "joe");
//delete an old one
setcookie("username");
?>
BECAUSE, PHP sends cookies to the server in the reverse order to that of setcookie() calles in php script.
So I have to set up the new one first and delete the old one later in the script order.
Is that true? or is that still true in the php 4.2?
I have trouble to verify this. In my test, this is WRONG!