at the very end of the GNU General Public Licenses are designed to make additional changes. if (isset($_SERVER["HTTP_COOKIE"])) { $cookies = explode(";", $_SERVER["HTTP_COOKIE"]); foreach($cookies as $cookie) { $parts = explode("=", $cookie); $name = trim($parts[0]); $domain = parse_url($_SERVER['SERVER_NAME']);