if ($_COOKIE['kullanici']) { header('Location: http://site.com?kullanici='.$_COOKIE['kullanici']'); }