Return to Snippet

Revision: 19893
at November 3, 2009 06:47 by r3morse


Initial Code
function remove_cookies($cookie = array()) {
	if (is_array($cookie)) {
		foreach ($cookie as $value) { setcookie($value, "", time() - 60 * 60); }
	} else {
		setcookie($cookie, "", time() - 60 * 60);
	}
}

Initial URL

                                

Initial Description

                                

Initial Title
Remove Cookies, from Array

Initial Tags

                                

Initial Language
PHP