http://www.mysite.com/listmail/thankyou.php?name=!fname&email=!email
if($list=='1'){ header('Location: /mypage?e='.urlencode($email)); exit;}