Code : Tout sélectionner
"Could not connect to database.", "db_select" => "Impossible to select a valid database.", "invalid_email" => "Invalid email syntax.", "email_used" => "There is already an account created with this email.", "bad_login"=> "Wrong email or password.", "unknown" => "An error occured, please try again later.", "send_email" => "Could not send the email", "bad_magic" => "Wrong magic number, please check the email you have received from us." ); function die_error($error){ global $errors; if (isset($errors[$error])) die ($errors[$error]); else die ("Unknown error"); } ?>
<?
$errors = array(
"db_connect" => "Could not connect to database.";
"db_select" => "Impossible to select a valid database.",
"invalid_email" => "Invalid email syntax.",
"email_used" => "There is already an account created with this email.",
"bad_login"=> "Wrong email or password.",
"unknown" => "An error occured, please try again later.",
"send_email" => "Could not send the email",
"bad_magic" => "Wrong magic number, please check the email you have received from us."
);
function die_error($error){
global $errors;
if (isset($errors[$error]))
die ($errors[$error]);
else
die ("Unknown error");
}
?> <HTML lang=fr>
<!DOCTYPE HTML PUBLIC "-//W3C/DTD HTML 4.01//EN"
"http://www.w3c.org/TR/html4/strict.dtd">
<HEAD>
<TITLE>MPO</TITLE>
<META http-equiv="Content-Type" content="text/html;">
<STYLE>
li {
list-style-type: none
}
img {
border-style:outset;
border-width:5px;
}
.logo_module{
width:154px;
Oh bah ça alors ! Il détecte une balise.