|
|
- <?php
- // header('Access-Control-Allow-Origin: *');
- // header('Access-Control-Request-Method: POST');
-
- $server = "192.168.0.5";
- $user = "crosario";
- $password = "b4tl3f13ld@db";
- $database = "SINAK";
-
-
- // Microsoft SQL Server using the SQL Native Client 10.0 ODBC Driver - allows connection to SQL 7, 2000, 2005 and 2008
- $conn = odbc_connect("Driver={SQL Server Native Client 10.0};Server=$server;Database=$database;", $user, $password);
-
- // if ($connection)
- // echo "mau";
- // else
- // echo "tidak";
- ?>
|