Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
632 connectés 

  FORUM HardWare.fr
  Programmation

  y a t il des pro de golive 5 et ou du html???

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

y a t il des pro de golive 5 et ou du html???

n°100797
poluxxx
chérie! g cramé proco!
Posté le 15-02-2002 à 09:54:38  profilanswer
 

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???

mood
Publicité
Posté le 15-02-2002 à 09:54:38  profilanswer
 

n°100798
Pinzo
Vorsprung durch technik
Posté le 15-02-2002 à 13:03:06  profilanswer
 

Ca va dans programmation ca.
 
Déplacement.


---------------
“I'll thank you very much.”
n°100889
poluxxx
chérie! g cramé proco!
Posté le 15-02-2002 à 14:51:46  profilanswer
 

:bounce: alors vous sechez

n°100892
reddwarf
gazzz
Posté le 15-02-2002 à 14:56:48  profilanswer
 

accueil


---------------
Fait le ou ne le fait pas ... Essayer ne sert à rien !
n°100893
poluxxx
chérie! g cramé proco!
Posté le 15-02-2002 à 14:59:33  profilanswer
 

houpps!!!!!
g v de suite voir et modif

n°100895
100top
Posté le 15-02-2002 à 15:00:31  profilanswer
 

Je vois qu'1 Flash je peux pas t'aider !

n°100898
reddwarf
gazzz
Posté le 15-02-2002 à 15:02:09  profilanswer
 

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 )


---------------
Fait le ou ne le fait pas ... Essayer ne sert à rien !
n°100907
poluxxx
chérie! g cramé proco!
Posté le 15-02-2002 à 15:07:41  profilanswer
 

<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

n°100913
poluxxx
chérie! g cramé proco!
Posté le 15-02-2002 à 15:10:35  profilanswer
 

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

n°100920
Dost67
Posté le 15-02-2002 à 15:13:48  profilanswer
 

reddwarf t'a demandé le code du CGI, enfin du programme PERL quoi ! Pas de la page HTML.

mood
Publicité
Posté le 15-02-2002 à 15:13:48  profilanswer
 

n°100923
poluxxx
chérie! g cramé proco!
Posté le 15-02-2002 à 15:14:48  profilanswer
 

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

n°100927
poluxxx
chérie! g cramé proco!
Posté le 15-02-2002 à 15:15:45  profilanswer
 

en fait g piquée la cgi chez free je ne connait pas le code!!

n°100930
poluxxx
chérie! g cramé proco!
Posté le 15-02-2002 à 15:17:42  profilanswer
 

en programmation pure as part html et un poil de java, je suis pas très calé :(

n°100977
Profil sup​primé
Posté le 15-02-2002 à 16:12:36  answer
 

Tu télécharges le programme Perl nommé form2mail.cgi, et tu nous fais un copier coller du contenu...

n°100985
reddwarf
gazzz
Posté le 15-02-2002 à 16:24:38  profilanswer
 

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]


---------------
Fait le ou ne le fait pas ... Essayer ne sert à rien !
n°100990
Profil sup​primé
Posté le 15-02-2002 à 16:31:14  answer
 

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...

n°100998
reddwarf
gazzz
Posté le 15-02-2002 à 16:36:21  profilanswer
 

: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:


---------------
Fait le ou ne le fait pas ... Essayer ne sert à rien !
n°101000
Profil sup​primé
Posté le 15-02-2002 à 16:39:22  answer
 

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)


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation

  y a t il des pro de golive 5 et ou du html???

 

Sujets relatifs
[HTML][JS] pbm taille de popup! grrrr ca m'énerve!HTML... Comment fixer la taille d'un bouton (oui, g honte !)
[HTML] forcer le navigateur a enregister un fichierFormulaire html sans bouton submit ?
Question html (?): lien vers un fichier exécutableintegration video dans html
[HTML] Afficher le contenu d'un repertoire ![HTML] Upload de fichiers multiple (impt!!! please)
background en html ?[html - PHP] Formulaire
Plus de sujets relatifs à : y a t il des pro de golive 5 et ou du html???


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR