CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

Problème pour envoyer un formulaire...

Pipadin
Pipadin
Niveau 10
20 juin 2006 à 18:34:35

Salut,

j´ai fait récessement un formulaire avec NVU ! Donc j´ai créer les bouton, ville, prenom, age... Ensuite j´ai fait un bouton envoyer grace au code suivant :
<input onfocus="Grodurt38@hotmail.fr" value="Envoyer"
type="submit"> </font></p>

Voila je sais pas si c´est ca que je devais mettre ! Merci d´avance pour votre aide :)

ps : je veux le code en html et pas en php plz :merci:

Pipadin
Pipadin
Niveau 10
20 juin 2006 à 18:44:42

J´ai mis sa mais quand je clique sur envoyer je recois rien !

<FORM METHOD="POST"
ACTION="
http://perso.wanadoo.fr/bin/formulaire.cgi
">
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="527" BORDERCOLOR="#3333CC">
<INPUT TYPE="HIDDEN" name="email" VALUE="Cecile.Bertau@wanadoo.fr">
<INPUT TYPE="HIDDEN" name="url"
VALUE="
http://perso.wanadoo.fr/cecile.bertau/merci
.html">
<INPUT TYPE="HIDDEN" name="sujet" VALUE="Formulaire des Pages Perso">
<TR>
<TD HEIGHT="40" BGCOLOR="#3333CC"><B><FONT COLOR="#FFFFFF">Nom</FONT></B></TD>
<TD HEIGHT="40" BGCOLOR="#3333CC">
<INPUT name="*Nom" TYPE="text" SIZE="35">
<FONT COLOR="#FF0000"><B>*</B></FONT><BR>
</TD>
</TR>
<TR>
<TD HEIGHT="40" BGCOLOR="#FFFFCC"><B>Société</B></TD>
<TD HEIGHT="40" BGCOLOR="#FFFFCC">
<INPUT name="Société" TYPE="text" SIZE="35">
</TD>
</TR>
<TR>
<TD HEIGHT="40" BGCOLOR="#3333CC"><B><FONT COLOR="#FFFFFF">Adresse</FONT></B></TD>
<TD HEIGHT="40" BGCOLOR="#3333CC"> <FONT COLOR="#FF0000">
<INPUT name="*Adresse" TYPE="text" SIZE="35">
<B>*</B></FONT><BR>
</TD>
</TR>
<TR>
<TD HEIGHT="40" BGCOLOR="#FFFFCC"><B>Ville</B></TD>
<TD HEIGHT="40" BGCOLOR="#FFFFCC">
<INPUT name="*Ville" TYPE="text" SIZE="35">
<FONT COLOR="#FF0000"><B>*</B></FONT><BR>
</TD>
</TR>
<TR>
<TD HEIGHT="40" BGCOLOR="#3333CC"><B><FONT COLOR="#FFFFFF">Département</FONT></B></TD>
<TD HEIGHT="40" BGCOLOR="#3333CC">
<INPUT name="Département" TYPE="text" SIZE="35">
<BR>
</TD>
</TR>
<TR>
<TD HEIGHT="40" BGCOLOR="#FFFFCC"><B>Code postal</B></TD>
<TD HEIGHT="40" BGCOLOR="#FFFFCC">
<INPUT name="*Codepostal" TYPE="text" SIZE="35">
<FONT COLOR="#FF0000"><B>*</B></FONT><BR>
</TD>
</TR>
<TR>
<TD HEIGHT="40" BGCOLOR="#3333CC"><B><FONT COLOR="#FFFFFF">Pays</FONT></B></TD>
<TD HEIGHT="40" BGCOLOR="#3333CC">
<INPUT name="Pays" TYPE="text" SIZE="35">
<BR>
</TD>
</TR>
<TR>
<TD HEIGHT="120" BGCOLOR="#FFFFCC"><B>Commentaires</B></TD>
<TD HEIGHT="120" BGCOLOR="#FFFFCC">
<TEXTAREA name="commentaires" COLS="30" ROWS="6"></TEXTAREA>
</TD>
</TR>
</TABLE>
<BR>
<BR>
<INPUT TYPE="submit" VALUE="Envoyer" name="submit">
<INPUT TYPE="reset" VALUE="Effacer" name="reset">
</FORM>

deepblue
deepblue
Niveau 16
20 juin 2006 à 18:49:08

<FORM METHOD="POST" ACTION="ton mail">

Pipadin
Pipadin
Niveau 10
20 juin 2006 à 18:53:14

:merci:

Pipadin
Pipadin
Niveau 10
20 juin 2006 à 18:55:56

Quand j´envoie ma page par msn, et que mon pote clique sur envoyer, je ne recois toujours rien

naok
naok
Niveau 10
20 juin 2006 à 18:59:09

tu à la fonction mail() sur ton hébérgeure ?

Wolf18
Wolf18
Niveau 10
20 juin 2006 à 19:06:41

Nan apparement il a Wanadoo et faut payer pour avoir le PHP là-bas :fou:

naok
naok
Niveau 10
20 juin 2006 à 19:10:09

wolf18 => :lol:

cértain hébérgeur non pas cétte fonction vital pour les formulaires !

dj_chriss6280
dj_chriss6280
Niveau 5
20 juin 2006 à 19:13:07

si tu n´as pas le PHP va chez lycos et active l option !! ensuite la ca devrait allé... si ca ne va tjr pas alors a ce moment la rajoute moi dans MSN j ai un script pour ton formulaire !

leratchristopher@hotmail.com

naok
naok
Niveau 10
20 juin 2006 à 19:14:37

cris tu à donné la réponse !! !
TA PAGE DOIT ETRE EN PHP
et
TON HEBERGEUR DOIT AVOIR LA FONCTION MAIL()

Pipadin
Pipadin
Niveau 10
20 juin 2006 à 19:24:35

Oué mais enfaite j´ai besoin d´envoyer mes formulaire pr mail(msn), mais quand on clique sur envoyer sa marche pas

naok
naok
Niveau 10
20 juin 2006 à 19:26:12

ta la fonction mail() et ta page .php ?

Pipadin
Pipadin
Niveau 10
20 juin 2006 à 19:31:36

Oui, après je fais un copier coller de ma page et je peux l´envoyer à un pote par mn htmail ?

naok
naok
Niveau 10
20 juin 2006 à 19:37:37

hotmail blocke des e-mails vérifie dans les méssages indésirable

pour l´histoire du copier/coller j´ai pas comprie !

Pipadin
Pipadin
Niveau 10
20 juin 2006 à 19:40:07

Exemple je veux envoyer mon formulaire a quelqu´un par email, je fais copier coller ?

naok
naok
Niveau 10
20 juin 2006 à 19:45:51

ba tu l´envoi par piece jointe

bon j´y go a demain ++

dj_chriss6280
dj_chriss6280
Niveau 5
20 juin 2006 à 19:45:51

bon alors je vais te donner mon script....

<!--DEBUT CODE FORMULAIRE-->
<!-- Trouvé sur
http://membres.lycos.fr/teamsocom3/ --><body bgcolor="#333333" text="#000000" link="#FFFFFF">
<form method="POST" action="nadform.php3" name="AVIS">
<table width="600">
<tr>
<td width="35"></td>
<td width="565"><small><font face="Verdana"><img src="images/top.psd.jpg" width="800" height="141">.</font></small>
<p></td>
</tr>
<tr>
<td width="35"></td>
<td width="565">
<font face="Verdana"><small><font color="#FFFFFF">champ 1</font></small><br>
<small><input type="text" name="champ1" size="20"></small></font>

<p><font face="Verdana"><small><font
color="#FFFFFF">Prénom:</font></small><br>

<small><input type="text" name="champ2" size="20"></small></font></p>

<p><font face="Verdana"><small><font color="#FFFFFF">Age:</font></small><br>
<small><input type="text" name="champ3" size="20"></small></font></p>

<p><font face="Verdana"><small><font color="#FFFFFF">Grade</font></small><br>
<small><input type="text" name="champ4" size="20"></small></font></p>

<p><font face="Verdana"><small><font color="#FFFFFF">E mail </font></small><br>
<small><input type="text" name="champ4" size="20"></small></font></p>

<p><font face="Verdana"><small><font color="#FFFFFF">Disponible:</font></small><br>
<small><select name="champ5" size="1">
<option selected value="0">Choisir</option>
<option value="Reponse5_1">Le soir</option>
<option value="Reponse5_2">le week end</option>
<option value="Reponse5_3">les vacances</option>
<option value="Reponse5_4">la semaine</option>
<option value="Reponse5_5">autre</option>
</select></small></font></p>

<p><font face="Verdana"><small><font color="#FFFFFF">commentaires</font></small><br>
<small><textarea rows="4" name="champ6" cols="40"></textarea></small></font></p>

<font color="#FFFFFF" face="Verdana">voulez vous faire les matchs? </font>
<p><input type="radio" value="Reponse7_1" name="champ7">
<font color="#FFFFFF" face="verdana"><small>OUI</small></font>
<input type="radio" name="champ7" value="Reponse7_2">
<font color="#FFFFFF" face="verdana"><small>NoN</small></font></p>

<p><font color="#FFFFFF" face="Verdana"><small>Heure de disponiblité </small></font></p>
<table border="0" width="100%" cellspacing="1" cellpadding="4">
<tr>
<td width="7%"><input type="checkbox" name="champ8[]" value="item_1"></td>
<td width="93%"><font color="#FFFFFF" face="Verdana"><small>+21 heures </small></font></td>
</tr>
<tr>
<td width="7%"><input type="checkbox" name="champ8[]" value="item_2"></td>
<td width="93%"><small><font color="#FFFFFF" face="Verdana">- 21 heures </font></small></td>
</tr>
<tr>
<td width="7%"><input type="checkbox" name="champ8[]" value="item_3"></font></td>
<td width="93%"><small><font color="#FFFFFF" face="Verdana">Peu importe </font></small></td>
</tr>
</table>
</td>
</tr>
</table>
<p> </p>
<p><small><font face="Verdana"><input type="submit" value="Envoyer" name="envoyer"> <input
type="reset" value="Recommencer" name="recommencer"></font></small> <br>
<br>
</p>
</form>
<!--FIN CODE FORMULAIRE-->

bon évidement, ce script est le script de mon site donc le design n´est peut etre pas approprié...

fait aussi attention lis bien le script et remplace mes informations personnelles pas les iennes CAD ton adresse e mail,...

dj_chriss6280
dj_chriss6280
Niveau 5
20 juin 2006 à 19:47:26

si tu veux un bete tchat,

voila encore un script

<!-- BEGIN CBOX - http://www.cbox.ws --><style type="text/css">
<!--
body,td,th {
color: #FFFFFF;
}
body {
background-color: #333333;
}
a:link {
color: #FFFFFF;
}
a:visited {
color: #FFFFFF;
}
a:hover {
color: #CCCCCC;
}
a:active {
color: #FFFFFF;
}
-->
</style>
<p><img src="images/top.psd.jpg" width="800" height="141" /></p>
<table border="0" cellpadding="0" cellspacing="0" summary="cbox tagboard" align="center">
<tr><td width="430" align="center">
<iframe frameborder="0" width="500" height="400"
src="
http://www2.cbox.ws/box/?boxid=1300588&amp;amp;bo
xtag=8912&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border: #000000 1px solid;" id="cboxmain"></iframe>
</td></tr><tr><td align="center">
<iframe frameborder="0" width="500" height="80"
src="
http://www2.cbox.ws/box/?boxid=1300588&amp;amp;bo
xtag=8912&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: #000000 1px solid; border-top: 0px;" id="cboxform"></iframe>
</td></tr>
</table>
<p align="center"> <a href="index2.html">RETOUR A L INDEX</a> </p>
<div align="left">
<!-- END CBOX -->
</div>

Pipadin
Pipadin
Niveau 10
20 juin 2006 à 20:18:13

Voila ce que j´ai fait :

1 : <html>
2 : <head><title>Atelier PHP Gestion de formulaire : impressions.html</title><head>
3 : <body>

[...]

10 : <form method="post" action="ajoutimp.php">
11 : Votre nom : <input type="text" name="nom"><br>
12 : Votre email : <input type="email" name="email"><br>
13 : Vous avez <input type="radio" name="impression" value="aime"> aimé
14 : <input type="radio" name="impression" value="pasaime"> pas aimé.
15 : <br>
16 : Vos commentaires : <textarea name="commentaires"></textarea>
17 : <br><br>
18 : <input type="submit" name="valider" value="Valider">
19 : </form>

[...]

30 : </body>
31 : </html>

Quand je clique sur envoiyer sa me met erreur

Yoda_Software
Yoda_Software
Niveau 30
20 juin 2006 à 20:37:07

Juste une question, comme ça : le fichier ´ajoutimp.php´ existe-t-il :question:

Sous forums
  • Aide à l'achat Mac
  • Création de sites web
  • Création de Jeux
  • Linux
  • Programmation
  • Internet
  • Steam Deck
  • Macintosh
  • Hardware
La vidéo du moment