<html> <head> <title>Définition d'un Constant</title> </head> <body> <?php define("HOTE", "localhost"); define("USERNAME", "admin"); define("PASSWORD", "123456"); print "Voici les paramètres des connexion <br/> Serveur:".HOTE."<br/>Nom d'utilisateur: ".USERNAME." <br/>Mot de passe: ".PASSWORD; ?> </body> </html>