Html help
grim90
Messages postés
1
Statut
Membre
-
XanderS2X Messages postés 448 Statut Membre -
XanderS2X Messages postés 448 Statut Membre -
Bonjour, je crée un petit site en Htlm , et j'ai un soucie au niveaux d'un envoie de formulaire , en effet j'aimerai que les personne qui le veule puisse remplir un formulaire et l'envoyer directement dans ma boite mail.
Voilà mon code :
<!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>index</title>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
</head>
<body style="background-color: black;">
<br>
"
<span style="font-family: Comic Sans MS;">";<br>
</span><br>
<span style="font-family: Comic Sans MS;"><br>
</span>
<div style="text-align: center;"><img style="width: 717px; height: 121px;" src="header_avec_bare.jpg" alt=""><br>
</div>
<span style="font-family: Comic Sans MS;"><br>
<br>
<br>
<br>
</span>
<form method="post" action="amandine-esl@hotmail.com" enctype="text/plain">enctype="text/plain">
<table class="orange" style="border: 0pt none ; padding: 0pt; margin-left: auto; margin-right: auto; text-align: center;" align="center" border="0" height="365" width="74%">
<tbody>
<tr>
<th width="44%"><label for="serveur">
</label>
<div style="color: rgb(255, 255, 255);" class="style4" align="center">Nom du serveur:<br>
</div>
</th>
<td width="56%">
<div align="left"> <input name="serveur" id="serveur" type="text"> </div>
</td>
<td></td>
</tr>
<tr>
<th><label for="mail"> </label>
<div style="color: rgb(255, 255, 255);" class="style4" align="center">Mail:<br>
</div>
</th>
<td>
<div align="left"> <input name="mail" id="mail" type="text"> </div>
</td>
<td></td>
</tr>
<tr>
<th style="color: rgb(255, 255, 255);"><label for="msn"> </label>
<div class="style4" align="center">MSN:<br>
</div>
</th>
<td>
<div align="left"> <input name="msn" id="msn" type="text"> </div>
</td>
<td></td>
</tr>
<tr>
<th style="color: rgb(255, 255, 255);"><label for="login"> </label>
<div class="style4" align="center">Login:<br>
</div>
</th>
<td>
<div align="left"> <input name="login" id="login" type="text"> </div>
</td>
<td></td>
</tr>
<tr>
<th><label for="password"> </label>
<div style="color: rgb(255, 255, 255);" class="style4" align="center">Password Serveur :<br>
</div>
</th>
<td>
<div align="left"> <input name="password" id="password" type="password"> </div>
</td>
<td></td>
</tr>
<tr>
<th><label for="password"> </label>
<div class="style4" align="center"><span style="color: rgb(255, 255, 255);">Rcon password :<br>
</span> </div>
</th>
<td>
<div align="left"> <input name="password" id="password" type="password"> </div>
</td>
<td></td>
</tr>
<tr>
<th style="color: rgb(255, 255, 255);"><br>
Jeux :<br>
<br>
</th>
<td style="text-align: left;">
<select name="jeu" id="jeu">
<option value="Counter Strike: Source">Counter
Strike: Source</option>
</select>
</td>
<td></td>
</tr>
<tr>
<th><label for="paiement"> </label>
<div class="style4" align="center"><span style="color: rgb(255, 255, 255);">paiement </span><br>
</div>
</th>
<td style="text-align: left;">
<select name="paiement" id="paiement">
<option value="Allopass">Allopass</option>
</select>
</td>
<td></td>
</tr>
</tbody> <tbody>
<tr>
<th><label for="type"> </label>
<div class="style4" align="center"><span style="color: rgb(255, 255, 255);">Type :</span><br>
</div>
</th>
<td style="text-align: left;">
<select name="type" id="type" onchange="calcul();">
<option value="Public">Public</option>
<option value="Privé">Privé</option>
</select>
</td>
<td></td>
</tr>
<tr>
<th><label for="offre"> </label>
<div class="style4" align="center"><span style="color: rgb(255, 255, 255);">Offre:</span><br>
</div>
</th>
<td style="text-align: left;">
<select name="offre" id="offre" onchange="calcul();">
<option value="12">12 slots</option>
</select>
</td>
<td></td>
</tr>
<tr>
<th><label for="duree"> </label>
<div class="style4" align="center"><span style="color: rgb(255, 255, 255);">Durée:</span><br>
</div>
</th>
<td>
<div align="left">
<div style="text-align: left;">
<select name="duree" id="duree" onchange="calcul();">
<option value="1 mois">1 mois</option>
</select>
</div>
</div>
</td>
<td colspan="2">
<div style="text-align: justify;">
</div>
</td>
<td colspan="2">
<input value="Envoyer" type="submit">
<script type="text/javascript"></script><br>
</td>
<td></td>
</tr>
</tbody>
</table>
</form>
</body>
</html>
impossible de recevoir le moindre mail , pouvez vous m'aider ?
Cordialement
Grim
Voilà mon code :
<!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>index</title>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
</head>
<body style="background-color: black;">
<br>
"
<span style="font-family: Comic Sans MS;">";<br>
</span><br>
<span style="font-family: Comic Sans MS;"><br>
</span>
<div style="text-align: center;"><img style="width: 717px; height: 121px;" src="header_avec_bare.jpg" alt=""><br>
</div>
<span style="font-family: Comic Sans MS;"><br>
<br>
<br>
<br>
</span>
<form method="post" action="amandine-esl@hotmail.com" enctype="text/plain">enctype="text/plain">
<table class="orange" style="border: 0pt none ; padding: 0pt; margin-left: auto; margin-right: auto; text-align: center;" align="center" border="0" height="365" width="74%">
<tbody>
<tr>
<th width="44%"><label for="serveur">
</label>
<div style="color: rgb(255, 255, 255);" class="style4" align="center">Nom du serveur:<br>
</div>
</th>
<td width="56%">
<div align="left"> <input name="serveur" id="serveur" type="text"> </div>
</td>
<td></td>
</tr>
<tr>
<th><label for="mail"> </label>
<div style="color: rgb(255, 255, 255);" class="style4" align="center">Mail:<br>
</div>
</th>
<td>
<div align="left"> <input name="mail" id="mail" type="text"> </div>
</td>
<td></td>
</tr>
<tr>
<th style="color: rgb(255, 255, 255);"><label for="msn"> </label>
<div class="style4" align="center">MSN:<br>
</div>
</th>
<td>
<div align="left"> <input name="msn" id="msn" type="text"> </div>
</td>
<td></td>
</tr>
<tr>
<th style="color: rgb(255, 255, 255);"><label for="login"> </label>
<div class="style4" align="center">Login:<br>
</div>
</th>
<td>
<div align="left"> <input name="login" id="login" type="text"> </div>
</td>
<td></td>
</tr>
<tr>
<th><label for="password"> </label>
<div style="color: rgb(255, 255, 255);" class="style4" align="center">Password Serveur :<br>
</div>
</th>
<td>
<div align="left"> <input name="password" id="password" type="password"> </div>
</td>
<td></td>
</tr>
<tr>
<th><label for="password"> </label>
<div class="style4" align="center"><span style="color: rgb(255, 255, 255);">Rcon password :<br>
</span> </div>
</th>
<td>
<div align="left"> <input name="password" id="password" type="password"> </div>
</td>
<td></td>
</tr>
<tr>
<th style="color: rgb(255, 255, 255);"><br>
Jeux :<br>
<br>
</th>
<td style="text-align: left;">
<select name="jeu" id="jeu">
<option value="Counter Strike: Source">Counter
Strike: Source</option>
</select>
</td>
<td></td>
</tr>
<tr>
<th><label for="paiement"> </label>
<div class="style4" align="center"><span style="color: rgb(255, 255, 255);">paiement </span><br>
</div>
</th>
<td style="text-align: left;">
<select name="paiement" id="paiement">
<option value="Allopass">Allopass</option>
</select>
</td>
<td></td>
</tr>
</tbody> <tbody>
<tr>
<th><label for="type"> </label>
<div class="style4" align="center"><span style="color: rgb(255, 255, 255);">Type :</span><br>
</div>
</th>
<td style="text-align: left;">
<select name="type" id="type" onchange="calcul();">
<option value="Public">Public</option>
<option value="Privé">Privé</option>
</select>
</td>
<td></td>
</tr>
<tr>
<th><label for="offre"> </label>
<div class="style4" align="center"><span style="color: rgb(255, 255, 255);">Offre:</span><br>
</div>
</th>
<td style="text-align: left;">
<select name="offre" id="offre" onchange="calcul();">
<option value="12">12 slots</option>
</select>
</td>
<td></td>
</tr>
<tr>
<th><label for="duree"> </label>
<div class="style4" align="center"><span style="color: rgb(255, 255, 255);">Durée:</span><br>
</div>
</th>
<td>
<div align="left">
<div style="text-align: left;">
<select name="duree" id="duree" onchange="calcul();">
<option value="1 mois">1 mois</option>
</select>
</div>
</div>
</td>
<td colspan="2">
<div style="text-align: justify;">
</div>
</td>
<td colspan="2">
<input value="Envoyer" type="submit">
<script type="text/javascript"></script><br>
</td>
<td></td>
</tr>
</tbody>
</table>
</form>
</body>
</html>
impossible de recevoir le moindre mail , pouvez vous m'aider ?
Cordialement
Grim
A voir également:
- Html help
- Editeur html - Télécharger - HTML
- Html download - Télécharger - HTML
- Espace en html ✓ - Forum HTML
- Br html ✓ - Forum Webmastering
- Html   - Forum HTML
1 réponse
Bonsoir,
Voilà un beau gros tas de code lol !
J'vais faire court, je pense pouvoir vous aider.
J'ai développé pour mon portfolio une page de contact, avec un petit formulaire que chacun est libre de remplir s'il le veut.
Ce formulaire est ensuite traité de manière à vérifier qu'il n'est pas vide avant l'envoi, sinon, aucun envoi ne se produit.
Et enfin, à l'envoi, l'ensemble du contenu saisi est mis en forme et envoyé sur 2 adresses mails différentes.
Seul détail : tout cela est fait avec du PHP. Vous hébergez vos fichiers HTML où pour qu'ils soient visibles en ligne ?
Si votre hébergeur gère le PHP et le JavaScript, je pourrais vous transmettre les fragments de code nécessaires sous forme de quelques fichiers PHP et JavaScript, accompagnés de quelques commentaires sur le "comment ça marche ?", et vous n'aurez plus qu'à repiquer ce qu'il vous faudra (ma mise en forme étant sûrement différente de la vôtre).
En même temps, cela vous permettra d'analyser le fonctionnement et de comprendre un peu plus ce que vous développerez par la suite ;)
Voilà un beau gros tas de code lol !
J'vais faire court, je pense pouvoir vous aider.
J'ai développé pour mon portfolio une page de contact, avec un petit formulaire que chacun est libre de remplir s'il le veut.
Ce formulaire est ensuite traité de manière à vérifier qu'il n'est pas vide avant l'envoi, sinon, aucun envoi ne se produit.
Et enfin, à l'envoi, l'ensemble du contenu saisi est mis en forme et envoyé sur 2 adresses mails différentes.
Seul détail : tout cela est fait avec du PHP. Vous hébergez vos fichiers HTML où pour qu'ils soient visibles en ligne ?
Si votre hébergeur gère le PHP et le JavaScript, je pourrais vous transmettre les fragments de code nécessaires sous forme de quelques fichiers PHP et JavaScript, accompagnés de quelques commentaires sur le "comment ça marche ?", et vous n'aurez plus qu'à repiquer ce qu'il vous faudra (ma mise en forme étant sûrement différente de la vôtre).
En même temps, cela vous permettra d'analyser le fonctionnement et de comprendre un peu plus ce que vous développerez par la suite ;)