D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home3
/
antlerworldwide
/
public_html
/
admin
/
include
/
Filename :
conectdb.php
back
Copy
<?php error_reporting(0); //This file contains the database access information. It will included on every file requiring database access. if($_SERVER['HTTP_HOST'] == 'localhost' || $_SERVER['HTTP_HOST'] == 'localhost:8080') { //For localhost checking $dbc = @mysqli_connect('localhost','root','','vmsit_global') OR die ('could not connect:' . mysqli_connect_error()); //echo "hi"; } else { //For online site $dbc = @mysqli_connect('localhost','antlerwo_worldwideantler','41BpXC;4-B(&','antlerwo_antlers') OR die ('Sorry, could not connect:'); } ?>