Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $host = "phpmyadmin.cluster026.hosting.ovh.net";
- $database_name = "geyshouskfgeys";
- $user = "mon identifiant";
- $password = "mon mot de passe";
- try {
- $database = new PDO("mysql:host=".$host.";dbname=".$database_name, $user, $password);
- /* Ici ca met un timeout*/
- }catch(PDOException $e){
- $error = $e->getMessage();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement