You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
506 B

<?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";
?>