Parent Directory | Revision Log
wap fix
1 | <? |
2 | require('class.DBI'); |
3 | $db="corp"; |
4 | $dbh = new DBI("dbi:pg:$db","dpavlin",""); |
5 | |
6 | if (!$WAP && strstr(strtolower($HTTP_ACCEPT), "text/vnd.wap.wml")) { |
7 | Header("Location: wap.php"); |
8 | header("Content-type: text/vnd.wap.wml"); |
9 | exit; |
10 | } |
11 | |
12 | ?> |
ViewVC Help | |
Powered by ViewVC 1.1.26 |