--- inc/conn.inc 2001/02/01 11:43:20 1.1 +++ inc/conn.inc 2001/02/28 09:48:31 1.2 @@ -3,4 +3,9 @@ $db="corp"; $dbh = new DBI("dbi:pg:$db","dpavlin",""); + if (!$WAP && strstr(strtolower($HTTP_ACCEPT), "text/vnd.wap.wml")) { + Header("Location: wap.php"); + exit; + } + ?>