$today = date("D, d M Y", time() + 1*24*60*60); $isPhone = FALSE; if (strstr($_SERVER['HTTP_USER_AGENT'],'iPhone')) { $isPhone = TRUE; } ?>