<?
$hostname="localhost";
$username="coco1";
$password="federico123";
$dbname="db1e";

mysql_connect($hostname,$username,$password) or die("Impossibile collegarsi al server");
#$connessione = new mysqli($host, $user, $password, $db)or die("Impossibile connect to the server");
@mysql_select_db("$dbname") or die("Impossibile connettersi al database $DBName"); 

?>