<div dir="ltr">Ciao Jusi,<div>vedendo la documentazione (<a href="https://www.php.net/manual/en/features.file-upload.errors.php">https://www.php.net/manual/en/features.file-upload.errors.php</a>) l'errore 1 è legato alla dimensione massima concessa nella configurazione di php (upload_max_filesize).</div><div>Controlla quindi questo parametro nel php.ini (o printando phpinfo()).</div><div><br></div><div>Ciao,</div><div>Mirko</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno gio 27 giu 2019 alle ore 12:37 Jusi Pomenti <<a href="mailto:jusipom@gmail.com">jusipom@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>Ciao  MIrko,<br>
      ho provato  con  print_r   su  $_FILES:<br>
      quando carico il primo file,l'upload     viene eseguito  e  tutti
      i   campi   dell'array  $_FILES   sono pieni;<br>
      quando torno alla pagina precedente e  seleziono un altro file e 
      ristampo    la struttura  di  $_FILES,mi     accorgo che la voce
      name   è ok,error=1,mentre le  restanti    voci non contengono  
      alcun valore.<br>
      Secondo te,da cosa  potrebbe   dipendere?</p>
    <p>Ciao  e  grazie<br>
      Jusi<br>
    </p>
    <div class="gmail-m_2091674521344275348moz-cite-prefix">Il 24/06/2019 20:46, Mirko Prota ha
      scritto:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Ciao Jusi,
        <div>per inviare codice, prova con <a href="http://pastebin.com" target="_blank">pastebin.com</a>.</div>
        <div>Per il problema che segnali prova a fare un print_r su
          $_FILES, dovresti trovarti una key "error" nell'assoc di ogni
          singolo file caricato.</div>
        <div><br>
        </div>
        <div>Ciao,</div>
        <div>Mirko</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Il giorno lun 24 giu 2019 alle
          ore 18:10 Jusi Pomenti <<a href="mailto:jusipom@gmail.com" target="_blank">jusipom@gmail.com</a>> ha scritto:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ciao 
          a tutti,<br>
          Sono alle prese con  un   applicativo  php che prevede
          l'upload di <br>
          file,ma la  parte   di codice è troppo lunga per postarla
          qui;mi potete <br>
          dire come posso fare  per farvela vedere?<br>
          <br>
          Comunque,il primo file che seleziono,lo carica  e  l'upload
          va  a buon   <br>
          fine;<br>
          <br>
          Quando seleziono il secondo    file,l'upload non lo fa  perchè
          la <br>
          funzione  "is_uploaded_file" mi   restituisce   false.<br>
          <br>
          Secondo  voi,da cosa potrebbe dipendere?<br>
          <br>
          Ciao e grazie<br>
          <br>
          jusi<br>
          <br>
          -- <br>
          -------------------------------<br>
          Junior Silvestro Pomenti<br>
          Latina<br>
          Email: jusipom(at)<a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a><br>
                  jusipom(at)<a href="http://fastwebnet.it" rel="noreferrer" target="_blank">fastwebnet.it</a><br>
          -------------------------------<br>
          <br>
          _______________________________________________<br>
          <a href="https://www.latinalug.it" rel="noreferrer" target="_blank">https://www.latinalug.it</a><br>
          latina mailing list<br>
          <a href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a><br>
          <a href="https://lists.linux.it/listinfo/latina" rel="noreferrer" target="_blank">https://lists.linux.it/listinfo/latina</a><br>
          <a href="https://telegram.me/latinalug" rel="noreferrer" target="_blank">https://telegram.me/latinalug</a></blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail-m_2091674521344275348gmail_signature">
        <div dir="ltr">
          <div>
            <div dir="ltr">
              <div dir="ltr">
                <table cellspacing="0" cellpadding="0" border="0">
                  <tbody style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline">
                    <tr style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline">
                      <td style="padding:0px 7px 0px 0px;border-width:0px 3px 0px 0px;border-top-style:initial;border-right-style:solid;border-bottom-style:initial;border-left-style:initial;border-top-color:initial;border-right-color:rgb(0,0,0);border-bottom-color:initial;border-left-color:initial;font:inherit;vertical-align:middle" valign="top"><img src="https://it.gravatar.com/userimage/5684082/6425c26b3c08498312210770891573d5.png" style="margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; max-width: 100%;"></td>
                      <td style="padding:0px 0px 0px 12px;border:0px;font:inherit;vertical-align:middle">
                        <table style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;border-collapse:collapse;background:none" cellspacing="0" cellpadding="0" border="0">
                          <tbody style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline">
                            <tr style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline">
                              <td colspan="2" style="padding:0px 0px 5px;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:middle"><font face="Arial, Helvetica, sans-serif" color="#000000"><span style="font-style:inherit;font-weight:inherit">Mirko
                                    Prota<br>
                                  </span></font><a href="http://www.mirkoprota.be" target="_blank"><font size="2" color="#000000">http://www.mirkoprota.be</font></a><font size="2"><a href="http://www.mirkoprota.be" target="_blank"><br>
                                  </a></font></td>
                            </tr>
                            <tr style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline">
                              <td colspan="2" style="padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12px;line-height:inherit;font-family:Arial,Helvetica,sans-serif;color:rgb(51,51,51);vertical-align:middle"><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline">Full
                                  Stack Web Developer</span></td>
                            </tr>
                            <tr style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline">
                              <td style="padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12px;line-height:inherit;font-family:Arial,Helvetica,sans-serif;vertical-align:top;width:20px;color:rgb(0,0,0)" width="20" valign="top">m:</td>
                              <td style="padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12px;line-height:inherit;font-family:Arial,Helvetica,sans-serif;vertical-align:top;color:rgb(51,51,51)" valign="top">0466336458  <span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(0,0,0)">e: </span><a href="mailto:mirkos93@gmail.com" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(29,161,219)" target="_blank">mirkos93@gmail.com</a></td>
                            </tr>
                            <tr style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline">
                              <td style="padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12px;line-height:inherit;font-family:Arial,Helvetica,sans-serif;vertical-align:top;width:20px;color:rgb(0,0,0)" width="20" valign="top">a:</td>
                              <td style="padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12px;line-height:inherit;font-family:Arial,Helvetica,sans-serif;vertical-align:top;color:rgb(51,51,51)" valign="top">En Neuvice 57, 4000 Liège,
                                Belgium</td>
                            </tr>
                            <tr style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline">
                              <td colspan="2" style="padding:5px 0px 0px;border:0px;font:inherit;vertical-align:middle"><a href="https://www.linkedin.com/in/mirko-prota-35160b58/" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(29,161,219)" target="_blank"><img src="http://cdn2.hubspot.net/hubfs/184235/dev_images/signature_app/linkedin_sig.png" style="margin: 0px; padding: 0px; border: none; font: inherit; vertical-align: baseline; width: 25px; height: 25px; max-width: 25px; max-height: 25px;" width="25" height="25"></a></td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div id="gmail-m_2091674521344275348DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
        <table style="border-top:1px solid rgb(211,212,222)">
          <tbody>
            <tr>
              <td style="width:55px;padding-top:18px"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" style="width: 46px; height: 29px;" width="46" height="29"></a></td>
              <td style="width:470px;padding-top:17px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Mail priva di virus. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" style="color:rgb(68,83,234)" target="_blank">www.avg.com</a> </td>
            </tr>
          </tbody>
        </table>
        <a href="#m_2091674521344275348_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div>
      <br>
      <fieldset class="gmail-m_2091674521344275348mimeAttachmentHeader"></fieldset>
      <pre class="gmail-m_2091674521344275348moz-quote-pre">_______________________________________________
<a class="gmail-m_2091674521344275348moz-txt-link-freetext" href="https://www.latinalug.it" target="_blank">https://www.latinalug.it</a>
latina mailing list
<a class="gmail-m_2091674521344275348moz-txt-link-abbreviated" href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a>
<a class="gmail-m_2091674521344275348moz-txt-link-freetext" href="https://lists.linux.it/listinfo/latina" target="_blank">https://lists.linux.it/listinfo/latina</a>
<a class="gmail-m_2091674521344275348moz-txt-link-freetext" href="https://telegram.me/latinalug" target="_blank">https://telegram.me/latinalug</a></pre>
    </blockquote>
    <pre class="gmail-m_2091674521344275348moz-signature" cols="72">-- 
-------------------------------
Junior Silvestro Pomenti
Latina
Email: jusipom(at)<a href="http://gmail.com" target="_blank">gmail.com</a>
       jusipom(at)<a href="http://fastwebnet.it" target="_blank">fastwebnet.it</a>
-------------------------------</pre>
  </div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><table cellpadding="0" cellspacing="0" border="0" style="margin:0px;padding:0px;border:0px;font-stretch:inherit;font-size:16px;line-height:inherit;font-family:proxima-nova,"Helvetica Neue",Helvetica,Arial,sans-serif;vertical-align:baseline;border-collapse:collapse;color:rgb(85,85,85);background:none"><tbody style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline"><td valign="top" style="padding:0px 7px 0px 0px;border-width:0px 3px 0px 0px;border-top-style:initial;border-right-style:solid;border-bottom-style:initial;border-left-style:initial;border-top-color:initial;border-right-color:rgb(0,0,0);border-bottom-color:initial;border-left-color:initial;font:inherit;vertical-align:middle"><img src="https://it.gravatar.com/userimage/5684082/6425c26b3c08498312210770891573d5.png" style="margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline; max-width: 100%;"></td><td style="padding:0px 0px 0px 12px;border:0px;font:inherit;vertical-align:middle"><table cellpadding="0" cellspacing="0" border="0" style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;border-collapse:collapse;background:none"><tbody style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline"><td colspan="2" style="padding:0px 0px 5px;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:middle"><font color="#000000" face="Arial, Helvetica, sans-serif"><span style="font-style:inherit;font-weight:inherit">Mirko Prota<br></span></font><a href="http://www.mirkoprota.be" target="_blank"><font size="2" color="#000000">http://www.mirkoprota.be</font></a><font size="2"><a href="http://www.mirkoprota.be" target="_blank"><br></a></font></td></tr><tr style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline"><td colspan="2" style="padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12px;line-height:inherit;font-family:Arial,Helvetica,sans-serif;color:rgb(51,51,51);vertical-align:middle"><span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline">Full Stack Web Developer</span></td></tr><tr style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline"><td width="20" valign="top" style="padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12px;line-height:inherit;font-family:Arial,Helvetica,sans-serif;vertical-align:top;width:20px;color:rgb(0,0,0)">m:</td><td valign="top" style="padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12px;line-height:inherit;font-family:Arial,Helvetica,sans-serif;vertical-align:top;color:rgb(51,51,51)">0466336458  <span style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline;color:rgb(0,0,0)">e: </span><a href="mailto:mirkos93@gmail.com" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(29,161,219)" target="_blank">mirkos93@gmail.com</a></td></tr><tr style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline"><td width="20" valign="top" style="padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12px;line-height:inherit;font-family:Arial,Helvetica,sans-serif;vertical-align:top;width:20px;color:rgb(0,0,0)">a:</td><td valign="top" style="padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12px;line-height:inherit;font-family:Arial,Helvetica,sans-serif;vertical-align:top;color:rgb(51,51,51)">En Neuvice 57, 4000 Liège, Belgium</td></tr><tr style="margin:0px;padding:0px;border:0px;font:inherit;vertical-align:baseline"><td colspan="2" style="padding:5px 0px 0px;border:0px;font:inherit;vertical-align:middle"><a href="https://www.linkedin.com/in/mirko-prota-35160b58/" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(29,161,219)" target="_blank"><img width="25" height="25" src="http://cdn2.hubspot.net/hubfs/184235/dev_images/signature_app/linkedin_sig.png" style="margin: 0px; padding: 0px; border: none; font: inherit; vertical-align: baseline; width: 25px; height: 25px; max-width: 25px; max-height: 25px;"></a></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div>