cherche aide pour telecharger un fichier avec formulaire...

cherche aide pour telecharger un fichier avec formulaire... - PHP - Programmation

Marsh Posté le 08-05-2004 à 16:06:30    

voila j'arrive pas a telecharger un fichier avec un formulaire que j'ai installer dans mon site voir www.microwork.ch alors si vous pouvez m'aider ca sera gentil merci

Reply

Marsh Posté le 08-05-2004 à 16:06:30   

Reply

Marsh Posté le 08-05-2004 à 16:13:39    

sam2 a écrit :

voila j'arrive pas a telecharger un fichier avec un formulaire que j'ai installer dans mon site voir www.microwork.ch alors si vous pouvez m'aider ca sera gentil merci


 
De quel fichier parle-tu ??

Reply

Marsh Posté le 08-05-2004 à 16:42:20    

Hermes le Messager a écrit :

De quel fichier parle-tu ??


n'importe je dirais plutot image qu'un visiteur m'envoie

Reply

Marsh Posté le 08-05-2004 à 16:46:28    

ahhh le truc que le client a un textbox avec un bouton a coté qui lui permet de parcourir?
 
jsais pas... :D
 
montre ce que t'as comme code deja


---------------
http://www.boincstats.com/signature/user_664861.gif
Reply

Marsh Posté le 08-05-2004 à 17:52:56    

sam2 a écrit :

n'importe je dirais plutot image qu'un visiteur m'envoie


 
<input type="file"...

Reply

Marsh Posté le 09-05-2004 à 11:34:11    

et voila le code
<body>
<table width="500" border="0" cellspacing="0" cellpadding="0">
  <form action="envoi.php" method="post" enctype="multipart/form-data" name="formulaire">
    <tr>
      <td colspan="3">Envoyer un message</td>
    </tr>
    <tr>
      <td><div align="right">Votre nom</div></td>
      <td colspan="2"><input type="text" name="nom" size="45" maxlength="100"></td>
    </tr>
    <tr>
      <td width="17%"><div align="right">Votre mail</div></td>
      <td colspan="2"><input type="text" name="mail" size="45" maxlength="100"></td>
    </tr>
    <tr>
      <td><div align="right">Sujet :</div></td>
      <td colspan="2"><p>
          <input type="text" name="objet" size="45" maxlength="120">
        </p>
          <p></td>
      <td width="17%" rowspan="2" class="lasaisie">  
    </tr>
    <tr>
      <td height="44" colspan="3"><html>
    <body>
        <form enctype="multipart/form-data" action="fileupload.php" method="post">
            <input type="hidden" name="MAX_FILE_SIZE" value="100000" />
            Transfère le fichier <input type="file" name="monfichier" />
            <input type="submit" />
        </form>
    </body>
</html>
&nbsp;</td>
    </tr>
    <tr>
      <td align='left' class="lasaisie"> &nbsp;
          <p></p></td>
    </tr>
    <tr>
      <td><div align="right">Message :</div></td>
      <td colspan="2"><textarea name="message" cols="50" rows="10"></textarea></td>
    </tr>
    <tr>
      <td></td>
      <td width="42%"><center>
          <input type="reset" name="Submit" value="Réinitialiser le formulaire">
      </center></td>
      <td width="24%"><center>
          <input type="submit" name="Submit" value="Envoyer">
      </center></td>
    </tr>
    <tr>
      <td></td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </form>
</table>
</body>
</html>

Reply

Marsh Posté le 09-05-2004 à 16:51:18    

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed