Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Fusion neistrina COOKIE

Parašė avice· 2011 Bir. 7 14:06:57
#1


		if (iMEMBER && (isset($_REQUEST['logout']) && $_REQUEST['logout'] == "yes")) {
		header("P3P: CP='NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM'");
		setcookie("user", "", time() - 7200, "/", "", "0");
		setcookie("fb_id", "", time() - 7200, "/", "", "0");
		setcookie("fb_name", "", time() - 7200, "/", "", "0");
		setcookie("fb_email", "", time() - 7200, "/", "", "0");
		setcookie("fb_gime", "", time() - 7200, "/", "", "0");
		setcookie("fb_vardas", "", time() - 7200, "/", "", "0");
		setcookie("fb_pavarde", "", time() - 7200, "/", "", "0");
		setcookie("fb_lytis", "", time() - 7200, "/", "", "0");
		setcookie("lastvisit", "", time() - 7200, "/", "", "0");
		$result = dbquery("DELETE FROM ".DB_ONLINE." WHERE online_ip='".USER_IP."'");
		$tekstas =  "Sudie, ".$userdata['user_name']."\n";

kame cia beda , kad nepadaro tusciu cookie?
Lyg ir gerai padariau ;/?