connect('tp4-redis-1', 6379); $code = $redis->get('code'); echo "
SERVERNAME ".$_SERVER['SERVER_NAME']."
HOSTNAME ".gethostname()."
ETUDIANT ".$_ENV['NOM']." / ".$_ENV['PRENOM']."
CODE $code
";