Location: PHPKode > scripts > Free Url Shortener Script > sh/db.php
<?php
/**
 * MySQL Database Connection
 */
mysql_connect('DATABASE_HOST (localhost)', 'DATABASE_USERNAME', 'DATABASE_PASSWORD') or die(mysql_error());
mysql_select_db('DATABASE_NAME') or die(mysql_error());

/**
 * Admin Credentials
 */
define('ADMIN', 'admin');
define('PASSWORD', 'passme');
?>
Return current item: Free Url Shortener Script