| |||||
| Dernière réponse | |
|---|---|
| Sujet : y a t il des pro de golive 5 et ou du html??? | |
| Profil supprimé | Bah en gros avec Perl + HTML t'as deux soluces :
- envoyer au CGI, qui exécute l'action, puis renvoie un fichier HTML (ou le crée à la volée) - envoyer vers une page SHTML, dont le SSI appelle le script, exécute l'action, et inclut éventuellement un résultat dans la page (perso je privilégierais cette solution pour le cas présent) |
| Aperçu |
|---|
| Vue Rapide de la discussion |
|---|
| Bah en gros avec Perl + HTML t'as deux soluces :
- envoyer au CGI, qui exécute l'action, puis renvoie un fichier HTML (ou le crée à la volée) - envoyer vers une page SHTML, dont le SSI appelle le script, exécute l'action, et inclut éventuellement un résultat dans la page (perso je privilégierais cette solution pour le cas présent) |
| reddwarf | :D il faut surtout envoyer le formulaire a qqchose qui existe :lol:
je connais pas trop le cgi ni le perl mais je suppose qu on peut bien sur faire une redirection vers " merci.html " en php je renvoie directement vers ma cible mon formulaire apres le script se demerde ! :lol: |
| reddwart : tu peux renvoyer vers formmail.cgi, et faire en sorte que le script envoie la page merci.html ensuite... passque envoyer un formulaire à du HTML... heu... |
| reddwarf | il faut que ton formulaire renvoie vers une page qui existe :
la tu l envoie vers http://perso0.free.fr/cgi-bin/form2mail.pl si tu veux l envoyer vers merci.html alors change <form name="cvja" method="post" action="http : / /perso0.free.fr/cgi-bin/form2mail.pl"> par <form name="cvja" method="post" action="ton_chemin_vers/merci.html"> [jfdsdjhfuetppo]--Message édité par reddwarf--[/jfdsdjhfuetppo] |
| Tu télécharges le programme Perl nommé form2mail.cgi, et tu nous fais un copier coller du contenu... |
| poluxxx | en programmation pure as part html et un poil de java, je suis pas très calé :( |
| poluxxx | en fait g piquée la cgi chez free je ne connait pas le code!! |
| poluxxx | http://l.media.free.fr/pages/merci [...] rm2mail.pl
en fait seul la page merci.html exite ce lien est une expérience qui as mal tournée :o |
| Dost67 | reddwarf t'a demandé le code du CGI, enfin du programme PERL quoi ! Pas de la page HTML. |
| poluxxx | houpps c pas le bon code
en fait je voudrais après l'envoi atterrir sur une page merci.html ci joint code de merci.html <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <meta name="generator" content="Adobe GoLive 5"> <title>Bienvenue dans Adobe GoLive 5</title> </head> <body bgcolor="#ffffff"> <div align="center"> <table cool width="615" height="201" usegridx usegridy showgridx showgridy gridx="16" gridy="16" border="0" cellpadding="0" cellspacing="0"> <tr height="48"> <td width="614" height="48" colspan="3"></td> <td width="1" height="48"><spacer type="block" width="1" height="48"></td> </tr> <tr height="152"> <td width="91" height="152"></td> <td width="517" height="152" align="left" xpos="91" content valign="top" csheight="73"> <div align="center"> <font size="5">Merçi d'avoir complété le formulaire !</font> <p><font size="5">Je vous contact bientôt!</font></p> </div> </td> <td width="6" height="152"></td> <td width="1" height="152"><spacer type="block" width="1" height="152"></td> </tr> <tr height="1" cntrlrow> <td width="91" height="1"><spacer type="block" width="91" height="1"></td> <td width="517" height="1"><spacer type="block" width="517" height="1"></td> <td width="6" height="1"><spacer type="block" width="6" height="1"></td> <td width="1" height="1"></td> </tr> </table> </div> <p></p> </body> </h |
| poluxxx | <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 text="red"> <form name="cvja" method="post" action="http://perso0.free.fr/cgi-bin/form2mail.pl"> <div align="left"> <table cool width="700" height="446" usegridx usegridy showgridx showgridy gridx="8" gridy="8" border="0" cellpadding="0" cellspacing="0"> <tr height="40"> <td width="20" height="445" rowspan="12"></td> <td width="4" height="316" rowspan="9"></td> <td width="56" height="40" valign="top" align="left" xpos="24"><label for="n"><font color="red"><b>Nom :</b></font></label></td> <td width="32" height="40"></td> <td width="184" height="40" colspan="3" valign="top" align="left" xpos="112"><input type="text" name="nom" size="24"></td> <td width="176" height="40" valign="top" align="left" xpos="296"><input type="hidden" value="l.media@free.fr" name="to"></td> <td width="227" height="184" rowspan="5"></td> <td width="1" height="40"><spacer type="block" width="1" height="40"></td> </tr> <tr height="40"> <td width="88" height="40" colspan="2" 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="176" height="300" rowspan="9"></td> <td width="1" height="40"><spacer type="block" width="1" height="40"></td> </tr> <tr height="40"> <td width="88" height="40" colspan="2" 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="1" height="40"><spacer type="block" width="1" height="40"></td> </tr> <tr height="40"> <td width="56" height="40" valign="top" align="left" xpos="24"><label><b><font color="red">E-mail :</font></b></label></td> <td width="32" height="40"></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="24"> <td width="88" height="24" colspan="2" valign="top" align="left" xpos="24"><label><font color="red"><b>Téléphone :</b></font></label></td> <td width="160" height="24" colspan="2" valign="top" align="left" xpos="112"><input type="text" name="telephone" size="15"></td> <td width="24" height="40" rowspan="2"></td> <td width="1" height="24"><spacer type="block" width="1" height="24"></td> </tr> <tr height="16"> <td width="248" height="16" colspan="4"></td> <td width="227" height="132" rowspan="4" valign="top" align="left" xpos="472"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="100" height="100"> <param name="movie" value="(Empty Reference!)"> <param name="quality" value="best"> <param name="play" value="true"> <embed src="(Empty Reference!)" type="application/x-shockwave-flash" width="100" height="100" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" quality="best" play="true"> </object></td> <td width="1" height="16"><spacer type="block" width="1" height="16"></td> </tr> <tr height="40"> <td width="88" height="40" colspan="2" 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="3" 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="56" height="36" valign="top" align="left" xpos="24"><label><font color="red"><b>Ville :</b></font></label></td> <td width="32" height="36"></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="5" 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="227" height="129" rowspan="3"></td> <td width="1" height="24"><spacer type="block" width="1" height="24"></td> </tr> <tr height="84"> <td width="452" height="84" colspan="7" 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="21"> <td width="4" height="21"></td> <td width="56" height="21" valign="top" align="left" xpos="24"><input type="submit" name="submit" value="envoyer"></td> <td width="32" height="21" valign="top" align="left" xpos="80"><input type="hidden" value="http://l.media.free.fr/pages/acceuil.html" name="gotourl"></td> <td width="160" height="21" colspan="2"></td> <td width="200" height="21" colspan="2" valign="top" align="left" xpos="272"><input type="reset" value="effacer"></td> <td width="1" height="21"><spacer type="block" width="1" height="21"></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="56" height="1"><spacer type="block" width="56" height="1"></td> <td width="32" height="1"><spacer type="block" width="32" 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="176" height="1"><spacer type="block" width="176" height="1"></td> <td width="227" height="1"><spacer type="block" width="227" height="1"></td> <td width="1" height="1"></td> </tr> </table> </div> </form> <p></p> </body> </html> dis ce qui merde |
| reddwarf | fais voir le code de cette page la http://l.media.free.fr/pages/merci [...] rm2mail.pl ton formulaire est bon je pense ( j ai regarde le code source du formulaire ) |
| 100top | Je vois qu'1 Flash je peux pas t'aider ! |
| poluxxx | houpps!!!!!
g v de suite voir et modif |
| reddwarf | accueil |
| poluxxx | :bounce: alors vous sechez |
| Pinzo | Ca va dans programmation ca.
Déplacement. |
| poluxxx | bonjours,
sur mon site oerso g un petit probleme de formulaire quand on sousmet le formulaire je recois bien les données grace as la cgi mais comment fait on pour afficher une autre page ( merçi.html,...) apres la soumission ( envoi!!! pas des gaudrillolles)du form. Moi g un 404!!! Voir lien http://l.media.free.fr/index.html allez voir le formulaire??? |




