Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 11
  1. #1

    come fare per l'invio dei dati?

    ecco la pagina html:
    -----------------------------
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="Author" content="Fiorini Graziano">
    <meta name="GENERATOR" content="Mozilla/4.61 [en] (Win95; I) [Netscape]">
    <title>Modulo di richiesta installazione Sib</title>
    </head>
    <body nosave>
    <form NAME="form" METHOD="POST" ACTION="mailto:gfiorini@comune.modena.it?SUBJECT=R ichiesta installazione Sib" ENCTYPE="text/plain" onSubmit="return verify()"><script LANGUAGE="JavaScript">

    <!-- inizio javascript

    function verify() {

    ok = true;

    if ((ok) && (!campo_pieno(document.form.NOME.value)))
    { ok = false;
    alert("Digitare nome");
    document.form.NOME.focus(); }

    if ((ok) && (!campo_pieno(document.form.COGNOME.value)))
    { ok = false;
    alert("Digitare cognome");
    document.form.NOME.focus(); }

    if ((ok) && (!campo_pieno(document.form.UFFICIO.value)))
    { ok = false;
    alert("Digitare ufficio");
    document.form.UFFICIO.focus(); }

    if ((ok) && (!campo_pieno(document.form.SETTORE.value)))
    { ok = false;
    alert("Digitare settore");
    document.form.SETTORE.focus(); }

    if ((ok) && (!campo_pieno(document.form.SERVIZIO.value)))
    { ok = false;
    alert("Digitare servizio");
    document.form.SERVIZIO.focus(); }

    if ((ok) && (!campo_pieno(document.form.EDIFICIO.value)))
    { ok = false;
    alert("Digitare edificio");
    document.form.EDIFICIO.focus(); }

    if ((ok) && (!campo_pieno(document.form.PIANO.value)))
    { ok = false;
    alert("Digitare piano");
    document.form.PIANO.focus(); }

    if ((ok) && (!campo_pieno(document.form.TELEFONO.value)))
    { ok = false;
    alert("Digitare telefono");
    document.form.TELEFONO.focus(); }

    if ((ok) && (!campo_pieno(document.form.MOTIVO_INSTALLAZIONE.v alue)))
    { ok = false;
    alert("Digitare motivo per l'installazione");
    document.form.MOTIVO_INSTALLAZIONE.focus(); }

    if ((ok) && (!campo_pieno(document.form.NOME_DIRIGENTE.value)) )
    { ok = false;
    alert("Digitare nome del dirigente");
    document.form.NOME_DIRIGENTE.focus(); }

    if ((ok) && (!campo_pieno(document.form.COGNOME_DIRIGENTE.valu e)))
    { ok = false;
    alert("Digitare cognome del dirigente");
    document.form.COGNOME_DIRIGENTE.focus(); }

    if ((ok) && (!campo_pieno(document.form.RUOLO_DIRIGENTE.value) ))
    { ok = false;
    alert("Digitare il ruolo del dirigente");
    document.form.RUOLO_DIRIGENTE.focus(); }

    if ((ok) && (!campo_pieno(document.form.TELEFONO_DIRIGENTE.val ue)))
    { ok = false;
    alert("Digitare telefono del dirigente");
    document.form.TELEFONO_DIRIGENTE.focus(); }

    if (ok)
    alert ("Cliccando su OK La richiesta sarà inviata." + "\n" +
    "Se la richiesta sarà accettata invieremo " + "\n" +
    "al più presto uno dei nostri tecnici ad " + "\n" +
    "eseguire l'installazione del Sib." + "\n" +
    " " + "\n" +
    "Se per qualche motivo la richiesta sarà " + "\n" +
    "respinta, sarete tempestivamente informati "+ "\n" +
    "dai responsabili della procedura.");

    return ok;
    }

    function campo_pieno(text) {
    return (text.length > 0);
    }

    // fine javascipt -->

    </script>

    <table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="700" >
    <tr>
    <td WIDTH="5%"></td>

    <td WIDTH="90%">
    <center><font face="Arial,Helvetica"><font size=+2>Richiesta di installazione
    Sib</font></font>


    <input TYPE="hidden" NAME="TIPO RICHIESTA" VALUE="Installazione Sib"></center>



    <font face="Arial,Helvetica"><font size=-1>Compila la richiesta in
    tutte le sue parti e clicca sul bottone "INVIA".</font></font>


    <font face="Arial,Helvetica"><font size=-1>Se hai dei dubbi leggi
    il dettaglio delle istruzioni.</font></font>


    <font face="Arial,Helvetica"><font size=-1>
    </font></font>



    <hr WIDTH="100%">


    <font face="Arial,Helvetica">Dati dell'utilizzatore del PC destinatario
    dell'installazione:</font>



    <table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=2 WIDTH="100%" >
    <tr>
    <td WIDTH="100" HEIGHT="30"><font face="Arial,Helvetica">Nome</font></td>

    <td><input TYPE="TEXT" SIZE="50" NAME="NOME" MAXLENGTH="50"></td>
    </tr>

    <tr>
    <td HEIGHT="30"><font face="Arial,Helvetica">Cognome</font></td>

    <td><input TYPE="TEXT" SIZE="50" NAME="COGNOME" MAXLENGTH="50"></td>
    </tr>

    <tr>
    <td HEIGHT="30"><font face="Arial,Helvetica">Ufficio</font></td>

    <td><input TYPE="TEXT" SIZE="50" NAME="UFFICIO" MAXLENGTH="50"></td>
    </tr>

    <tr>
    <td HEIGHT="30"><font face="Arial,Helvetica">Settore</font></td>

    <td><input TYPE="TEXT" SIZE="50" NAME="SETTORE" MAXLENGTH="50"></td>
    </tr>

    <tr>
    <td HEIGHT="30"><font face="Arial,Helvetica">Servizio</font></td>

    <td><input TYPE="TEXT" SIZE="50" NAME="SERVIZIO" MAXLENGTH="50"></td>
    </tr>

    <tr>
    <td HEIGHT="30"><font face="Arial,Helvetica">Edificio</font></td>

    <td><input TYPE="TEXT" SIZE="35" NAME="EDIFICIO" MAXLENGTH="35"><font face="Arial,Helvetica">
    Piano</font><input TYPE="TEXT" SIZE="7" NAME="PIANO" MAXLENGTH="7"></td>
    </tr>

    <tr>
    <td HEIGHT="30"><font face="Arial,Helvetica">Telefono</font></td>

    <td><input TYPE="TEXT" SIZE="20" NAME="TELEFONO" MAXLENGTH="20"></td>
    </tr>

    <tr>
    <td HEIGHT="30"><font face="Arial,Helvetica">Motivo installazione</font></td>

    <td><input TYPE="TEXT" SIZE="50" NAME="MOTIVO_INSTALLAZIONE" MAXLENGTH="50"></td>
    </tr>
    </table>



    <font face="Arial,Helvetica"><font point-size="12">Estremi del dirigente
    di Settore o Servizio che avvalla la richiesta:</font></font>



    <table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=2 WIDTH="100%" >
    <tr>
    <td WIDTH="100" HEIGHT="30"><font face="Arial,Helvetica">Nome</font></td>

    <td><input TYPE="TEXT" SIZE="50" NAME="NOME_DIRIGENTE" MAXLENGTH="50"></td>
    </tr>

    <tr>
    <td HEIGHT="30"><font face="Arial,Helvetica">Cognome</font></td>

    <td><input TYPE="TEXT" SIZE="50" NAME="COGNOME_DIRIGENTE" MAXLENGTH="50"></td>
    </tr>

    <tr>
    <td HEIGHT="30"><font face="Arial,Helvetica">Ruolo</font></td>

    <td><input TYPE="TEXT" SIZE="35" NAME="RUOLO_DIRIGENTE" MAXLENGTH="35"></td>
    </tr>

    <tr>
    <td HEIGHT="30"><font face="Arial,Helvetica">Telefono</font></td>

    <td><input TYPE="TEXT" SIZE="20" NAME="TELEFONO_DIRIGENTE" MAXLENGTH="20"></td>
    </tr>
    </table>





    <font face="Arial,Helvetica">Se i dati sono corretti premi<input TYPE="SUBMIT" VALUE="Invia" style="color: 0000fe; font-size: 10pt">
    altrimenti</font><input TYPE="RESET" VALUE="Cancella" style="color: 0000fe; font-size: 10pt">






    <center>


    [img]../common/back.gif[/img]</center>
    </td>

    <td></td>
    </tr>
    </table>
    </form>
    </body>
    </html>


    -----------------------------
    io devo inviare tutti i dati delle textbox ad una mail senz che l'utente chje ha compilato i campi debba aprire outlook o altri programmi che cosa devo fare?
    a una cosa il codice deva naturalmente andare bene con tutti i browser da exploer a firefox
    contact msn: thomasmanicardi@hotmail.it

  2. #2
    Se puoi usare ASP o PHP fatti un giro dentro i relativi sottodomini di www.html.it e troverai ciò che fa per te.
    Se non puoi usare uno di questi due linguaggi, la vedo molto dura, se non impossibile.
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

  3. #3
    no posso usare qualsiasi linguaggio basta che funzioni su tutti i pc...
    contact msn: thomasmanicardi@hotmail.it

  4. #4
    Se vuoi che funzioni su tutti i PC puoi usare sia ASP che PHP a patto che su tutti i pc sia montato un web-server, IIS per ASP e Apache per PHP.
    Se invece vuoi che funzioni su tutti i browser, non devi avere paura, i linguaggi server funzionano dappertutto.
    Fatti un giro sui portali PHP o ASP di www.html.it e trovi tutti gli esempi che vuoi.
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

  5. #5
    Originariamente inviato da Federix
    Se vuoi che funzioni su tutti i PC puoi usare sia ASP che PHP a patto che su tutti i pc sia montato un web-server, IIS per ASP e Apache per PHP.
    Se invece vuoi che funzioni su tutti i browser, non devi avere paura, i linguaggi server funzionano dappertutto.
    Fatti un giro sui portali PHP o ASP di www.html.it e trovi tutti gli esempi che vuoi.
    i linguaggi lato server (ASP e PHP appunto lo sono) non centrano una mazza con i pc o con i browser che usano gli utenti.

  6. #6
    ok quindi che devo fare????
    contact msn: thomasmanicardi@hotmail.it

  7. #7
    Originariamente inviato da thomasmanicardi
    ok quindi che devo fare????
    studia PHP http://php.html.it/

  8. #8
    Originariamente inviato da andrea.paiola
    i linguaggi lato server (ASP e PHP appunto lo sono) non centrano una mazza con i pc o con i browser che usano gli utenti.
    Se lui mi dice che deve funzionare su tutti i PC, io intendo che vuol fare un sito che si veda in tutti i PC, quindi in tutti i PC ci vuole un web-server per far girare gli script.
    Se mi parla di browser allora la cosa è diversa.

    Comunque, Thomas se non puoi usare un linguaggio server non potrai mandare nessuna mail senza passare da Outlook, o Eudora, o qualche altro client di posta.
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

  9. #9
    Originariamente inviato da Federix
    Comunque, Thomas se non puoi usare un linguaggio server non potrai mandare nessuna mail senza passare da Outlook, o Eudora, o qualche altro client di posta.
    sarebbe innanzitutto da capire se ha un server SMTP a disposizione
    secondariamente se ha a disposizione un linguaggio lato server come PHP o Perl per esempio...

    thomas finchè non ci dai questi dati non ti possiamo aiutare

  10. #10
    allora ditemi di preciso cosa devo chiedere al capo:
    se ha un server e ci girano applicazioni per o php?
    e poi?
    contact msn: thomasmanicardi@hotmail.it

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.