成功("success"); //$_COOKIE['MyCookie']=>失敗("failed") : //ex : setcookie('u', 'admin'); //setcookie('MyCookie', 'failed'); //die($_COOKIE['MyCookie']); if ($_COOKIE['MyCookie'] == "success") { $tpl = new TemplatePower("download.html" ); } else { $tpl = new TemplatePower("pptdl.html" ); } $tpl->prepare(); $tpl->printToScreen(); ?>