Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //Variabili d'accesso
- $servername = 'cluster023.hosting.ovh.net';
- $username = '';
- $password = '';
- $dbname = '';
- $dbport = '3306';
- $dbserver = 'bmailincsplogin.mysql.db';
- //Collegamento al database
- $btwdb = new mysqli(
- $servername,
- $username,
- $password,
- $dbname,
- $dbport,
- $dbserver
- );
- if ($btwdb->connect_error) {
- die("Connessione fallita: " . $btwdb->connect_error);
- } else {
- //Connessione eseguita
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement