0byt3m1n1
Path:
/
data
/
17
/
1
/
18
/
11
/
1670011
/
user
/
1801231
/
htdocs
/
metalsh
/
includes
/
[
Home
]
File: config.php-
<? //$dbhost = "mysqlv111"; //$dbuname = "metalshe"; //$dbpass = "hu4KspDME34!W4v"; //$dbname = "metalshe"; //$link = mysql_connect($dbhost, $dbuname, $dbpass); $servername = "mysqlv111"; $username = "metalshe"; $password = "hu4KspDME34!W4v"; $dbname = "metalshe"; // Create connection $link = new mysqli($servername, $username, $password, $dbname); if (!$link) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db($dbname); define('SITE_PATH','http://www.metalsheetfabrication.com/'); $page=explode("/",$_SERVER['REQUEST_URI']); if($page[1]!='') { $content='pages/'.$page[1]; } else { $content='pages/index.php'; } echo $content; ?> <?php /* $servername = "localhost"; $username = "metalshe"; $password = "hu4KspDME34!W4v"; $dbname = "metalshe"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } echo "Connected successfully"; // Close the connection $conn->close(); */ ?> error_reporting = E_ALL display_errors = On