Advertisement
heriyadisetiana

config aplicares.php

Jun 17th, 2018
11,393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.44 KB | None | 0 0
  1. <?php
  2.     /**
  3.       Setting database connection
  4.     */
  5.       $host      = "localhost:3306";
  6.       $user      = "root";
  7.       $pass      = "your password";
  8.       $db        = "your DB";
  9.      
  10.       $con       = mysqli_connect($host, $user, $pass, $db) or die(mysqli_connect_error());
  11.      
  12.       /**
  13.       Initialize API header parameters
  14.       */
  15.       $consid    = "hospital Cons ID";
  16.       $secretKey = "Hospital SecretKey";
  17. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement