Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if($_SERVER['SERVER_NAME']=="localhost" || $_SERVER['SERVER_NAME']=="kutchenarte.local")
- {
- $host = "176.56.61.239";
- }
- else
- {
- $host = "localhost";
- }
- $username = "root";
- $password = "reuben";
- $db = "kutchenarte_db";
- $db_connection = mysql_connect($host, $username, $password) or die("Could not connect to db");
- mysql_select_db ($db, $db_connection) or die("Could not connect to table");
- ?>
Add Comment
Please, Sign In to add comment