formulaire help!!!! - Programmation
Marsh Posté le 04-02-2002 à 13:22:59
ton problème tu crois qu'on va le deviner?
balance ton code déjà ...
Marsh Posté le 04-02-2002 à 13:29:56
houps merci
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="author" content="poluxxx">
<title>Bienvenue sur le formulaire</title>
</head>
<body bgcolor="#cecece" text="red">
<form name="lmedia" action="http://perso0.free.fr/cgi-bin/form2mail.pl" method="post">
<div align="center">
<table cool width="560" height="450" usegridx usegridy showgridx showgridy gridx="8" gridy="8" border="0" cellpadding="0" cellspacing="0">
<tr height="40">
<td width="20" height="449" rowspan="11"></td>
<td width="4" height="316" rowspan="8"></td>
<td width="88" height="40" valign="top" align="left" xpos="24"><label><font color="red"><b>Nom :</b></font></label></td>
<td width="184" height="40" colspan="3" valign="top" align="left" xpos="112"><input type="text" name="nom" size="24"></td>
<td width="263" height="40" valign="top" align="left" xpos="296"><input type="hidden" value="l.media@free.fr" name="to"></td>
<td width="1" height="40"><spacer type="block" width="1" height="40"></td>
</tr>
<tr height="40">
<td width="88" height="40" valign="top" align="left" xpos="24"><label><b><font color="red">Prénom :</font></b></label></td>
<td width="184" height="40" colspan="3" valign="top" align="left" xpos="112"><input type="text" name="prenom" size="24"></td>
<td width="263" height="40" valign="top" align="left" xpos="296"><input type="hidden" value="http://l.media.free.fr/index.html" name="gotourl"></td>
<td width="1" height="40"><spacer type="block" width="1" height="40"></td>
</tr>
<tr height="40">
<td width="88" height="40" valign="top" align="left" xpos="24"><label><font color="red"><b>Société :</b></font></label></td>
<td width="184" height="40" colspan="3" valign="top" align="left" xpos="112"><input type="text" name="ste" size="24"></td>
<td width="263" height="260" rowspan="7"></td>
<td width="1" height="40"><spacer type="block" width="1" height="40"></td>
</tr>
<tr height="40">
<td width="88" height="40" valign="top" align="left" xpos="24"><label><b><font color="red">E-mail :</font></b></label></td>
<td width="184" height="40" colspan="3" valign="top" align="left" xpos="112"><input type="text" name="from" size="24"></td>
<td width="1" height="40"><spacer type="block" width="1" height="40"></td>
</tr>
<tr height="40">
<td width="88" height="40" valign="top" align="left" xpos="24"><label><font color="red"><b>Téléphone :</b></font></label></td>
<td width="160" height="40" colspan="2" valign="top" align="left" xpos="112"><input type="text" name="telephone" size="15"></td>
<td width="24" height="40"></td>
<td width="1" height="40"><spacer type="block" width="1" height="40"></td>
</tr>
<tr height="40">
<td width="88" height="40" valign="top" align="left" xpos="24"><label><font color="red"><b>Adresse :</b></font></label></td>
<td width="184" height="40" colspan="3" valign="top" align="left" xpos="112"><input type="text" name="adresse" size="24"></td>
<td width="1" height="40"><spacer type="block" width="1" height="40"></td>
</tr>
<tr height="40">
<td width="104" height="40" colspan="2" valign="top" align="left" xpos="24"><label><font color="red"><b>Code postal :</b></font></label></td>
<td width="144" height="40" valign="top" align="left" xpos="128"><input type="text" name="cp" size="5"></td>
<td width="24" height="40"></td>
<td width="1" height="40"><spacer type="block" width="1" height="40"></td>
</tr>
<tr height="36">
<td width="88" height="36" valign="top" align="left" xpos="24"><label><font color="red"><b>Ville :</b></font></label></td>
<td width="184" height="36" colspan="3" valign="top" align="left" xpos="112"><input type="text" name="ville" size="24"></td>
<td width="1" height="36"><spacer type="block" width="1" height="36"></td>
</tr>
<tr height="24">
<td width="252" height="24" colspan="4" valign="top" align="left" xpos="20"><label><font color="red"><b>Commentaires sur le site :</b></font></label></td>
<td width="24" height="24"></td>
<td width="1" height="24"><spacer type="block" width="1" height="24"></td>
</tr>
<tr height="84">
<td width="539" height="84" colspan="6" valign="top" align="left" xpos="20"><textarea name="comment" cols="40" rows="4"></textarea></td>
<td width="1" height="84"><spacer type="block" width="1" height="84"></td>
</tr>
<tr height="25">
<td width="4" height="25"></td>
<td width="88" height="25" valign="top" align="left" xpos="24"><input type="submit" name="submit" value="envoyer"></td>
<td width="160" height="25" colspan="2"></td>
<td width="287" height="25" colspan="2" valign="top" align="left" xpos="272"><input type="reset" value="effacer"></td>
<td width="1" height="25"><spacer type="block" width="1" height="25"></td>
</tr>
<tr height="1" cntrlrow>
<td width="20" height="1"><spacer type="block" width="20" height="1"></td>
<td width="4" height="1"><spacer type="block" width="4" height="1"></td>
<td width="88" height="1"><spacer type="block" width="88" height="1"></td>
<td width="16" height="1"><spacer type="block" width="16" height="1"></td>
<td width="144" height="1"><spacer type="block" width="144" height="1"></td>
<td width="24" height="1"><spacer type="block" width="24" height="1"></td>
<td width="263" height="1"><spacer type="block" width="263" height="1"></td>
<td width="1" height="1"></td>
</tr>
</table>
</div>
</form>
<p></p>
</body>
</html>
Marsh Posté le 04-02-2002 à 14:08:27
elle est accessible depuis quelle adresse cette page. J'ai pas un compte free moi
C'est quoi ton erreur?
Marsh Posté le 04-02-2002 à 14:12:43
http://l.media.free.fr
regarde le formulaire quand tu envoie cela ne vas pas sur la page merci ou acceuil??
ca fe pas clean, html m'énerve
Marsh Posté le 04-02-2002 à 14:20:56
bin moi j'ai un 404
Marsh Posté le 04-02-2002 à 14:22:31
la cgi fonctionne par contre il n'affiche pas la page merci.html
ou acceuil.html a l'envoie
Marsh Posté le 04-02-2002 à 13:13:28
salut g 1 pb sous golive 5 , je viens de crée un formulaire
sur mon site et quand je fait envoyer je ne reviens pas sur la page merçi je doit avoir une couille dans le html
qui peut m'aider