Codice PHP:
<?
/* Database Information - Required!! */
/* -- Configure the Variables Below --*/
$dbhost = 'localhost';
$dbusername = 'filpi';
$dbpasswd = 'QUI DEVI SCRIVERE LA TUA PASSWORD';
$database_name = 'my_filpi';
$sitepath = "http://filpi.altervista.org/cartelladovehaicaricatoloscript/"; // full path to your site including http://
// and trailing slash
$sitename = "QUI DEVI METTERE IL TITOLO DEL TUO SITO";
$adminemail = "QUI DEVI METTERE IL TUO INDIRIZZO E-MAIL";
/* Database Stuff, do not modify below this line */
$connection = mysql_pconnect("$dbhost","$dbusername","$dbpasswd")
or die ("Couldn't connect to server.");
$db = mysql_select_db("$database_name", $connection)
or die("Couldn't select database.");
?>