note 26099 deleted from function.setcookie by sniper

From: Date: Wed, 11 Dec 2002 06:39:55 +0000
Subject: note 26099 deleted from function.setcookie by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40689@lists.php.net to get a copy of this message
jan at aagaard dot net: Late, but here's an answer: The netscape protocol asks for three periods in domains other than the 7 domains .com, .net etc because the other domains are administred by countries that are encouraged to use second level domains like .co.uk or .pro.br. If this rule would not be enforced, a page like bigbrotherseesyou.co.uk could set a cookie for .co.uk and every domain *.co.uk could read this cookie and track you around. The rule is bad for yahoo.dk, but this is one of the reasons that yahoo has changed their urls to things like dk.my.yahoo.com

« previous php.notes (#40689) next »