Navigazione

    Privacy - Termini e condizioni
    © 2020 Search On Media Group S.r.l.
    • Registrati
    • Accedi
    • CATEGORIES
    • Discussioni
    • Non letti
    • Recenti
    • Hashtags
    • Popolare
    • Utenti
    • Stream
    • Interest
    • Categories
    1. Home
    2. skylight
    3. Post
    S

    skylight

    @skylight

    • Profilo
    • Chi segue 0
    • Da chi è seguito 0
    • Discussioni 1
    • Post 7
    • Migliore 0
    • Gruppi 0
    Iscrizione Ultimo Accesso
    Età 16
    0
    Reputazione
    7
    Post
    0
    Visite al profilo
    0
    Da chi è seguito
    0
    Chi segue
    User Newbie

    Post creati da skylight

    • RE: PHP Form Image Upload

      ciao, scusami potresti postare la versione esatta che funziona....a me dice che non ha effettuato il caricamento seguento le indicazioni del primo post....
      Grazie

      postato in Coding
      S
      skylight
    • RE: Upload immagini Dreamweaver

      ti ringrazio.
      Aspetto novita'....;)

      postato in Coding
      S
      skylight
    • RE: Upload immagini Dreamweaver

      ma nessuno mi sa' aiutare???????:gtsad::gtsad:

      postato in Coding
      S
      skylight
    • RE: Upload immagini Dreamweaver

      certo solo persone loggate....

      postato in Coding
      S
      skylight
    • RE: Upload immagini Dreamweaver

      Ti ringrazio per la spiegazione...dato che sono nuovo non capivo cosa era successo...
      Attendo qualche risposta alla mia domanda...
      Grazie 🙂

      postato in Coding
      S
      skylight
    • RE: Upload immagini Dreamweaver

      Che cosa è successo al mio messaggio?

      postato in Coding
      S
      skylight
    • Upload immagini Dreamweaver

      Ciao a tutti...sono nuovo qui e girando un po' su internet vi ho trovato..
      Volevo farvi una domanda...
      Praticamente sto creando un sito e prendendo spunti un po' in giro ho creato un modulo per inserire i propri dati e questi dati vengono inviati sulla mia e-mail.
      la domanda che volevo farvi è che se mi potevate aiutare ad inserire in quel modulo un upload in modo che gli utenti possono caricare piu' di un immagine e inviarmela sempre per e-mail insieme agli altri dati..
      Posto il codice in modo che capite meglio cosa sto facendo.

      Codice html del form

      [HTML]
      <form name="form1" method="post" action="mail.php">
      <table width="95%" align="center" >
      <tr>
      <td colspan="2"><div align="center"><strong>MODULO CONTATTI </strong></div></td>
      </tr>
      <tr>
      <td width="16%"><strong>Nome</strong></td>
      <td width="84%"><input type="text" name="nome"></td>
      </tr>
      <tr>
      <td><strong>Cognome</strong></td>
      <td><input type="text" name="cognome"></td>
      </tr>
      <tr>
      <td><strong>Città </strong></td>
      <td><input type="text" name="citta"></td>
      </tr>
      <tr>
      <td><strong>Indirizzo E-mail </strong></td>
      <td><input type="text" name="mail"></td>
      </tr>
      <tr>
      <td><strong>Oggetto</strong></td>
      <td><input type="text" name="oggetto"></td>
      </tr>
      <tr>
      <td><strong>Testo</strong></td>
      <td><textarea name="testo" cols="40" rows="10"></textarea></td>
      </tr>
      <tr>
      <td colspan="2"> </td>
      </tr>
      <tr>
      <td colspan="2"><div align="center">
      <input type="submit" name="Submit" value="Invia">
      </div></td>
      </tr>
      </table>
      </form>[/HTML]

      Codice php dell'invio sull'e-mail

      [PHP]<?php
      // L'INDIRIZZO DEL DESTINATARIO DELLA MAIL
      $to = "la mia e-mail";
      // IL SOGGETTO DELLA MAIL
      $subject = "Modulo proveniente dal sito ";
      // COSTRUZIONE DEL CORPO DEL MESSAGGIO
      $body = "Contenuto del modulo:\n\n";
      $body .= "nome: " . trim(stripslashes($_POST["nome"])) . "\n";
      $body .= "cognome: " . trim(stripslashes($_POST["cognome"])) . "\n";
      $body .= "Città: " . trim(stripslashes($_POST["citta"])) . "\n";
      $body .= "Oggetto: " . trim(stripslashes($_POST["oggetto"])) . "\n";
      $body .= "testo: " . trim(stripslashes($_POST["testo"])) . "\n";
      $body .= "mail: " . trim(stripslashes($_POST["mail"])) . "\n";
      // INTESTAZIONI SUPPLEMENTARI
      $headers = "From: Modulo utenti<la mia e-mail>";
      // INVIO DELLA MAIL
      if(@mail($to, $subject, $body, $headers)) { // SE L'INOLTRO E' ANDATO A BUON FINE...
      echo "La mail è stata inoltrata con successo.";
      } else {// ALTRIMENTI...
      echo "Si sono verificati dei problemi nell'invio della mail.";
      }
      ?>[/PHP]

      Ringrazio tutti quelli che mi rispondono e resto in attesa di aiuto

      postato in Coding
      S
      skylight