Bonjour à tous,
voila depuis environs une semaine je cherche désespérément la solution à mon problème...
Le contexte :
Je joue à un jeu (arma 3) ou je suis membre de la "gendarmerie", j'ai donc réalisé une page web pour présenter notre "gendarmerie". Sur cette page on peut voir notre histoire, nos membres, les "amendes" et une page liée au recrutement.
Le problème :
Sur la page recrutement j'ai créé un formulaire qui devrait m’être envoyé sur ma boite mail lorsqu'on appuie sur "envoyer". Or je ne reçois rien et un message de "page non trouvé" s'affiche.
Pour info j'utilise le logiciel NVU pour créer mes pages et j'ai hébergé mon site sur "Hostinger" en gratuit.
je vous mets le lien de mon site si sa peut vous guider pour m'aider : http://altisnewlifegendarmerie.esy.es
la page de remerciement qui devrait normalement s'afficher après avoir appuyé sur "envoyer" : http://altisnewlifegendarmerie.esy.es/merci.html
Je vous mets le code de ma page HTML (désolé pour la longueur) :
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta
content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>AltisNewLife Gendarmerie
Nationale</title>
</head>
<body
style="height: 563px; color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);"
alink="#ffffff" link="#ffffff" vlink="#ffffff">
<div
style="text-align: center; margin-top: 0px; height: 36px;">
<div style="text-align: left;"> <br>
</div>
<table
style="width: 900px; height: 999px; text-align: left; margin-left: auto; margin-right: auto;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="height: 32px;"></td>
<td
style="height: 32px; text-align: center; background-color: rgb(95, 95, 95);"><img
style="width: 904px; height: 180px;" alt=""
src="image/logo_anl_big.png"><br>
</td>
<td style="height: 32px;"></td>
</tr>
<tr>
<th
style="vertical-align: middle; text-align: right; width: 257px; height: 96px;">
<br>
</th>
<td
style="font-weight: bold; color: rgb(204, 0, 0); font-family: Gentium Book Basic; vertical-align: middle; width: 1000px; text-align: left; height: 96px;"><big><big><big><big><big><big><big><small><small><small><small><small>
</small></small></small></small></small></big></big></big></big></big></big></big><big><big><big><big><big><big><big><img
style="width: 1012px; height: 110px;" alt=""
src="image/Barre%20haut.png"><br>
</big></big></big></big></big></big></big></td>
<td style="width: 257px; height: 96px;"><br>
</td>
</tr>
<tr>
<td style="height: 39px;"></td>
<td
style="background-color: rgb(95, 95, 95); text-align: center; height: 39px;"><big><span
style="color: rgb(255, 255, 255);"><a
href="index.html"><span
style="text-decoration: underline;">ACCEUIL</span></a>
<a
href="presentation.html"><span
style="text-decoration: underline;">PRESENTATION</span></a>
<a href="membre.html"><span
style="text-decoration: underline;">LES MEMBRES</span></a>
</span></big><a
href="recrutement.html"><big><span
style="text-decoration: underline;">LE RECRUTEMENT</span></big></a><big><span
style="color: rgb(255, 255, 255);">
</span></big><a
href="amende.html"><big><span
style="color: rgb(255, 255, 255);"><span
style="text-decoration: underline;">LES AMENDES</span>
</span></big></a></td>
<td style="height: 39px;"></td>
</tr>
<tr>
<td style="height: 921px;"></td>
<td
style="height: 921px; text-align: left; vertical-align: top;">
<div style="text-align: center;">
<span style="font-family: Georgia;"><span
style="text-decoration: underline;"><span
style="font-weight: bold;"> </span></span></span><br>
</div>
<div style="text-align: left;"><big><span
style="text-decoration: underline; font-weight: bold;"><img
style="width: 49px; height: 15px;" alt=""
src="image/Pistolet_Infobox.png"></span></big><big
style="font-weight: bold;"><big><span
style="color: rgb(0, 0, 0);"> </span><span
style="color: rgb(0, 0, 0); text-decoration: underline;">Présentation
In Réal Life<br>
</span></big></big>
<br>
<form method="post"
action="formmail.php"><input
name="subject" value="formmail" type="hidden">
<input name="subject"
value="formmail" type="hidden">
<table>
<tbody>
<tr>
<td
style="color: rgb(0, 0, 0);">Votre Nom:</td>
<td><input
name="nom" size="30" type="text"></td>
</tr>
<tr>
<td
style="color: rgb(0, 0, 0);">Votre
Prenom:</td>
<td><input
name="prenom" size="30" type="text"></td>
</tr>
<tr>
<td
style="color: rgb(0, 0, 0);">Votre Age :</td>
<td><input
name="age" size="30" type="text"></td>
</tr>
<tr style="color: rgb(0, 0, 0);">
<td colspan="2"><br>
Decrivez vous :<br>
<textarea cols="75"
rows="6" name="commentsIRL"></textarea><br>
<div style="text-align: left;"><big><span
style="text-decoration: underline; font-weight: bold;"><br>
<br>
<img
style="width: 49px; height: 15px;" alt=""
src="image/Pistolet_Infobox.png"></span></big><big
style="font-weight: bold;"><big><span
style="color: rgb(0, 0, 0);"> </span><span
style="color: rgb(0, 0, 0); text-decoration: underline;">Présentation
In Game</span></big></big></div>
<br>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td
style="color: rgb(0, 0, 0);">Votre Nom :</td>
<td><input
name="nomIG" size="30" type="text"></td>
</tr>
<tr>
<td
style="color: rgb(0, 0, 0);">Votre
Prenom
:</td>
<td><input
name="prenomIG" size="30" type="text"></td>
</tr>
<tr>
<td
style="color: rgb(0, 0, 0);">Votre
Adresse :</td>
<td><input
name="adresseIG" size="30" type="text"></td>
</tr>
<tr>
<td
style="color: rgb(0, 0, 0);">Votre Numero de tel :</td>
<td><input
name="telIG" size="30" type="text"></td>
</tr>
<tr>
<td
style="color: rgb(0, 0, 0);">Votre ID :</td>
<td><input
name="ID" size="30" type="text"></td>
</tr>
<tr style="color: rgb(0, 0, 0);">
<td colspan="2">Presentez
votre personnage :<br>
<textarea cols="75"
rows="6" name="comments"></textarea>
</td>
</tr>
<tr style="color: rgb(0, 0, 0);">
<td colspan="2">Vos
motivations :<br>
<textarea cols="75"
rows="6" name="comments"></textarea>
</td>
</tr>
</tbody>
</table>
<?php - <?php $TO = "xxxxxxxxxxxxxx@live.fr";
$h = "From: " . $TO;
$message = "";
while (list($key, $val) = each($_POST)) {
$message .= "$key : $val\n";
}
mail($TO, $subject, $message, $h);
Header("Location: [http://altisnewlifegendarme.pagesperso-orange.fr/merci.html>]");
?>
?><br>
<input value="Envoyer"
type="submit"> - <input
value="Annuler" type="reset"></form>
</div>
</td>
</tr>
</tbody>
</table>
- <?php $TO = "xxxxxxxxxxx@live.fr";
$h = "From: " . $TO;
$message = "";
while (list($key, $val) = each($_POST)) {
$message .= "$key : $val\n";
}
mail($TO, $subject, $message, $h);
Header("Location: [http://altisnewlifegendarme.pagesperso-orange.fr/merci.html>]");
?>
</div>
<div style="width: 1494px; height: 6px;"> </div>
<br>
</body>
</html>
EDIT : Ajout des balises de code (la coloration syntaxique).
Explications disponibles ici :ICI
Merci d'y penser dans tes prochains messages.
Afficher la suite