Parent Directory | Revision Log | Patch
revision 1.3 by dpavlin, Thu Mar 1 09:02:05 2001 UTC | revision 1.4 by dpavlin, Thu Mar 1 12:56:27 2001 UTC | |
---|---|---|
# | Line 3 | Line 3 |
3 | $db="corp"; | $db="corp"; |
4 | $dbh = new DBI("dbi:pg:$db","dpavlin",""); | $dbh = new DBI("dbi:pg:$db","dpavlin",""); |
5 | ||
6 | if (!$WAP && strstr(strtolower($HTTP_ACCEPT), "text/vnd.wap.wml")) { | if (!$WAP && ( strstr($accept,"text/vnd.wap.wml") || strstr($accept,"hdml;version=3.0") ) ) { |
7 | Header("Location: wap.php"); | Header("Location: wap.php"); |
8 | header("Content-type: text/vnd.wap.wml"); | header("Content-type: text/vnd.wap.wml"); |
9 | exit; | exit; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |