Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $db_host = ' ';
- $db_user = ' ';
- $db_pass = ' ';
- $db_name = ' ';
- define('_PAGE_', 'http://'.$_SERVER['HTTP_HOST'].'/');
- define('_PAGEM_', 'http://www.hotapart.pl/acmilan/');
- define('_PREFIX_', 'spurs_');
- /*
- *
- * POŁLĄCZENIE Z BAZĄ
- */
- //NIE ZMIENIAC!
- if(!mysql_connect($db_host, $db_user, $db_pass)){
- echo '<center><b>Site is currently unavailable. Try again later.</b></center>'; exit;
- }
- if(!mysql_select_db($db_name)){
- echo '<center><b>Database connection error</b></center>'; exit;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement