/[corp_html]/inc/conn.inc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /inc/conn.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Thu Mar 1 09:02:05 2001 UTC (23 years, 2 months ago) by dpavlin
Branch: MAIN
Changes since 1.2: +1 -0 lines
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