Advertisement
Guest User

Untitled

a guest
Sep 18th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. function msConnect($db='MSVision', $host='192.168.100.3', $user='(omitted for obvious reasons)', $pass='(Also ommitted)'){
  2. # Update DB and Host when new Vision goes live
  3. $con = @mssql_connect($host.':1433', $user, $pass);
  4. @mssql_select_db($db, $con);
  5. return $con;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement