Problème création formulaire
Dernière réponse : dans Programmation
bonjour je suis chez Amen pack web à la carte
je me suis fait un formulaire pour mon site tout simple , à recevoir par mail , mais ça ne marche pas ....je ne sais pas quoi faire .
j'ai lu kelke part que le pack que javais chez amen ne gérait pas le php...moi ça me parle pas
est ce que kelkun pourrait m'aider pour me dire ce que je dois faire. existe til dautres façon plus simple pour récupérer les coordonnées de quelqu'un
que je puisse intégrer sur mon site ( à part bien sur l'adresse mail bête et méchante)
en contre partie je peut lui réaliser une musique sympa pour son site ou autre .
mon adresse www.patrick-martens.com
merci pour vos réponses URGENT !!!
pattrick
je me suis fait un formulaire pour mon site tout simple , à recevoir par mail , mais ça ne marche pas ....je ne sais pas quoi faire .
j'ai lu kelke part que le pack que javais chez amen ne gérait pas le php...moi ça me parle pas
est ce que kelkun pourrait m'aider pour me dire ce que je dois faire. existe til dautres façon plus simple pour récupérer les coordonnées de quelqu'un
que je puisse intégrer sur mon site ( à part bien sur l'adresse mail bête et méchante)
en contre partie je peut lui réaliser une musique sympa pour son site ou autre .
mon adresse www.patrick-martens.com
merci pour vos réponses URGENT !!!
pattrick
Autres pages sur : probleme creation formulaire
Lassé par la pub ? Créez un compte
Non, si tu as un pack "A la carte", le PHP y est: http://www.amen.fr/static/nom_de_domaine.html
Au lieu de lire "ce que quelqu'un a dit sur le web", il vaut mieux lire ce que contient l'offre.
Au lieu de lire "ce que quelqu'un a dit sur le web", il vaut mieux lire ce que contient l'offre.
Salut,
à priori il n'y a pas de page php sur ton site...
mais même sans php tu peux utiliser un formulaire,
mais je vois dans ton code
justement action permet de savoir où tu envoies les infos récoltés de type post... et là # ???
en général c'est vers un fichier php qui va traiter ces infos... mais tu as aussi la méthode mailto:
à priori il n'y a pas de page php sur ton site...
mais même sans php tu peux utiliser un formulaire,
mais je vois dans ton code
<form action="#" method="post" name="contact" id="contact">
justement action permet de savoir où tu envoies les infos récoltés de type post... et là # ???
en général c'est vers un fichier php qui va traiter ces infos... mais tu as aussi la méthode mailto:
A priori, une page PHP pour récupérer les infos du formulaire et les enregistrer (en DB ou dans un fichier) comme c'est expliqué par exemple sur http://www.siteduzero.com/tutoriel-3-14543-php-et-les-f...
merci pour le lien que vous m'avez envoyé, je suis en train de le lire. Pourriez vous me dire précisément où insérer le script de mon formulaire sur ma page (à quelle ligne précisément ?) je joins le script de ma page. je poserai mon autre question après votre réponse
merci d'avance
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Patrick Martens - Compositeur de Musique de Film - </title>
<meta name="description" content="Patrick Martens - Compositeur de Musique de Film ">
<meta name="keywords" content="Patrick Martens - Compositeur de Musique de Film ">
<meta name="copyright" content="Patrick Martens©">
<meta name="robots" content="all">
<meta name="revisit-after" content="10 days">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<link rel="icon" type="image/gif" href="favicon.gif" />
<link rel="StyleSheet" href="bleu.css" type="text/css">
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">
body{
background-color: #000000;
background-image: url(background.jpg);
background-repeat: repeat-x;
margin:0px;
padding:0;
color: #ffffff
font : 12px "Trebuchet MS","Lucida grande",Verdana,Lucida,Helvetica,sans-serif;
}
b{font-size: 110%;}
em{color: red;}
#topsection{
width: 990px;
background: #06334B;
height: 258px; /*Height of top section*/
margin: 0;
padding:0;
}
#topsection h1{
margin: 0;
padding:0;
}
.container {
background: url(pix/fond_bord_body.html) repeat-y;
margin: 0 auto;
margin-left: auto;
margin-right: auto;
width: 990px;
}
#contentcolumn{
margin-left: 180px; /*Set left margin to LeftColumnWidth*/
}
#leftcolumn{
float: left;
width: 180px; /*Width of left column*/
background: #ffffff;
}
#footer{
clear: left;
background: ffffff;
color: #000;
text-align: center;
padding: 0;
}
#footer a{
color: #ff9933;
}
.innertube{
margin: 5px; /*Margins for inner DIV inside each column (to provide padding)*/
margin-top: 0;
}
.round-band-top-left {width:10px; height:10px; z-index:100; background:url(pix/corner-col-topleft-eeeeee.gif) no-repeat; margin-top:0px; margin-right:0px; margin-left:170px; margin-bottom:0px;}
.round-band-top-right {width:10px; height:10px; z-index:100; background:url(pix/corner-col-topright-eeeeee.gif) no-repeat; margin-top:0px; margin-left:0px; margin-right:170px; margin-bottom:0px;}
.style2 {
font-size: 16px;
font-weight: bold;
color: #FFCC00;
}
.style3 {color: #000000}
</style>
<script language="JavaScript">
function openDir( form ) {
var newIndex = form.marque.selectedIndex;
if ( newIndex == 0 ) {
alert( "SVP, sélectionnez une marque" );
} else {
cururl = form.marque.options[ newIndex ].value;
window.location.assign( cururl );
}
}
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body>
<div align="center"><div class="container">
<table width="980" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#000000">
<tr>
<td valign="top">
<a name="top"></a>
<table width="980" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><img src="images/bandeau-pat.jpg" width="980" height="100">
</td>
</tr>
</table>
<table width="998" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" bgcolor="#000000" width="243">
<!-- menu vert. gauche -->
<div id="menu">
<ul>
<p> </p>
<li class="first"></li>
<li></li>
<li></li>
<li><a href="index.html">Accueil</a></li>
<li></li>
<li><a href="les-news.html">News</a></li>
<li class="first"></li>
<li><a href="bio.html">Bio</a></li>
<li class="first"></li>
<li><a href="musiques-et-images.htm">Musiques et Images</a>
</li>
<li></li>
<li> <a href="photos.html">Photos</a></li>
</ul>
<ul>
<li class="first"></li>
<li><a href="contact.html"><font color="#FF6600">Contact</font></a></li>
<li></li>
<li><a href="liens.html">Liens</a></li>
</ul>
</div>
<!-- fin menu vert -->
</td>
<td valign="top" width="566"><!--DWLayoutEmptyCell--> </td>
<td valign="top" bgcolor="#000000" width="171"><p><br>
</p>
<p> </p>
<p> </p>
<p> </p>
<table border=0 cellspacing=0 cellpadding=0 width=171 align=center>
<tr>
<td valign=top width=10><img src=pix/corner1.gif width=10 height=10></td>
<td width="150" valign=top bgcolor=#333333>
<!-- <img src=pix/cadre_horiz_haut.gif width=100% height=10> -->
</td>
<td width=11><img src=pix/corner2.gif width=10 height=10></td>
</tr>
<tr>
<td bgcolor=#333333><p> </p>
<p> </p></td>
<td valign=top bgcolor=#1e2a30> <table width=100% border=0 align=center cellpadding=1 cellspacing=0 bgcolor="#333333">
<tr>
<td align="center" width="100%"><a href="index61ad.html?view=mod_news" class="white">LES
NEWS</a></td>
</tr>
<tr>
<td valign=top width=100% class=bandeautext>
<!-- <img src="pix/9.jpg" alt=" " border="1" align="right"> -->
<a href="les-news.html"><strong>Musique film"
Le plombier Atmosphérique"</strong></a><br>
<font size="1"> de Js wsgarda et Flore Asté,
avec <a href="http://www.jeanclaudedreyfus.net">J
claude Dreyfus</a>,...... <br>
> lire la suite</font> <br> <hr></td>
</tr>
<tr>
<td valign=top width=100% class=bandeautext>
<!-- <img src="pix/14.jpg" alt=" " border="1" align="right"> -->
<a href="les-news.html"><strong> Musique film entreprise
"Chateâu de Malromé demeurre de
Henri de Toulouse Lautrec"</strong></a> <br>
<font size="1"> réalisé par C.V.S ,
<br>
> lire la suite</font> <br> <hr></td>
</tr>
<tr>
<td width=100% height="94" valign=top class=bandeautext>
<!-- <img src="" alt="" border="1" align="right"> -->
<a href="les-news.html"><strong> Musique spectacle
danse...</strong></a> <br>
<font size="1"> Musique et habillage sonore pour spectacle
de danse<br>
> lire la suite</font> <br> <hr></td>
</tr>
</table></td>
<td bgcolor=#333333></td>
</tr>
<tr>
<td width=10 height="10" valign=top><img src=pix/corner3.gif width=10 height=10></td>
<td valign=bottom bgcolor=#333333></td>
<td><img src=pix/corner4.gif width=10 height=10></td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
<!-- footer -->
<table width="980" border="0" cellspacing="0" cellpadding="5" align="center"><tr>
<td align="center" bgcolor="#000000"> <a href="contact.htm">Contact</a>
|
<!-- <a href="index.php?view=site_plan">Plan du Site</a> | -->
<!-- <a href="index.php?view=mod_mailing" rel="nofollow">Newsletter</a> |
<a href="index.php?view=mentions_legales">Mentions légales</a> |
<a href="index.php?view=credits">Crédits</a> | -->
<a href="#top">Haut de page</a> |<br>
<br>
<a href="index.html">Compositeur de Musique de Film</a> <br>
Patrick Martens© - Tous Droits réservés<br></td></tr></table>
<!-- end footer -->
</td>
</tr>
</table>
</div></div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5815222-1");
pageTracker._trackPageview();
</script></body>
</html>
HOUHOU!!!ya personne pour me dire où dois mettre le script de mon formulaire (ci dessous)sur le script de ma page contact que j'ai mis dans le message précédent. comment dois je sauver cette page php,html...
estce que le script de mon formulaire est bon ou non?
merci quand même je suis nouveau.
patrick:
<form action="mailto
at.martens@aliceadsl.fr" method="post" name="contact" id="contact">
<br />
<table border=0 cellpadding=0 cellspacing=0 width="563">
<tr>
<td width="67" height="40" valign="top"> <b> Prénom <b>*</b></b>
</td>
<td width="416" valign="top" nowrap> <input name=prenom type="text" value="" class="">
</td>
</tr>
<tr>
<td valign="top" height="40"> <b>Nom <b>*</b></b>
</td>
<td valign="top" nowrap> <input name=nom type="text" value="" class="">
</td>
</tr>
<tr>
<td valign="top" height="40"> <b>email <b>*</b></b>
</td>
<td valign="top" nowrap> <input name=email type="text" value="" class=""></td>
</tr>
<tr>
<td valign="top" height="40"> <b>Site web </b>
</td>
<td valign="top" nowrap> <input name=web type="text" value="" class="">
</td>
</tr>
<tr>
<td valign="top" height="40"><br> <b>Message <b>*</b></b>
</td>
<td valign="top"> <p><br>
<textarea name="message" cols="40" rows="6" class=""></textarea>
</p>
<p> </p></td>
</tr>
<tr>
<td colspan="2" align="center"> <input type="submit" name="Submit" value="Envoyer">
<input type="reset" value="Effacer" name="reset" class="envoi">
</td>
</tr>
</table>
<span class="style2"><span class="style3">............................</span>EN TRAVAUX pour modifications ! </span>
</form>
estce que le script de mon formulaire est bon ou non?
merci quand même je suis nouveau.
patrick:
<form action="mailto
at.martens@aliceadsl.fr" method="post" name="contact" id="contact"><br />
<table border=0 cellpadding=0 cellspacing=0 width="563">
<tr>
<td width="67" height="40" valign="top"> <b> Prénom <b>*</b></b>
</td>
<td width="416" valign="top" nowrap> <input name=prenom type="text" value="" class="">
</td>
</tr>
<tr>
<td valign="top" height="40"> <b>Nom <b>*</b></b>
</td>
<td valign="top" nowrap> <input name=nom type="text" value="" class="">
</td>
</tr>
<tr>
<td valign="top" height="40"> <b>email <b>*</b></b>
</td>
<td valign="top" nowrap> <input name=email type="text" value="" class=""></td>
</tr>
<tr>
<td valign="top" height="40"> <b>Site web </b>
</td>
<td valign="top" nowrap> <input name=web type="text" value="" class="">
</td>
</tr>
<tr>
<td valign="top" height="40"><br> <b>Message <b>*</b></b>
</td>
<td valign="top"> <p><br>
<textarea name="message" cols="40" rows="6" class=""></textarea>
</p>
<p> </p></td>
</tr>
<tr>
<td colspan="2" align="center"> <input type="submit" name="Submit" value="Envoyer">
<input type="reset" value="Effacer" name="reset" class="envoi">
</td>
</tr>
</table>
<span class="style2"><span class="style3">............................</span>EN TRAVAUX pour modifications ! </span>
</form>
ben en fait tu mets où tu veux qu'il apparaisse sur ta page... ce n'est que du html...
et vu que tu choisis la méthode mailto, utilise plutot :
sinon en php ce serait mieux, déjà ton adresse ne sera pas visible dans le code source, et puis tu pourrais faire des tests de saisi dans les champs type=text
exple : http://rbl.asrun.eu/contact.php
et vu que tu choisis la méthode mailto, utilise plutot :
<form action="mailto:pat.martens@aliceadsl.fr" method="post" ENCTYPE="text/plain">
sinon en php ce serait mieux, déjà ton adresse ne sera pas visible dans le code source, et puis tu pourrais faire des tests de saisi dans les champs type=text
exple : http://rbl.asrun.eu/contact.php
Lassé par la pub ? Créez un compte
- Contenus similaires :
Tags :
- ForumPlusieurs boutons formulaire php javascript
- ForumConfigurer apache pour envoyer des mail
- ForumPhp probleme formulaire de contact
- ForumProgramme de creation de site web
- ForumCreation de site web blog
- ForumScript creation bouton avec php
- ForumCreation du design de mon site web
- ForumProbleme image background html css
- ForumCreation de listes script php
- ForumProbleme formulaire html php-mysql
- Voir plus