Visualizzazione dei risultati da 1 a 3 su 3

Discussione: Form error

  1. #1
    Utente di HTML.it
    Registrato dal
    Feb 2005
    Messaggi
    2,245

    Form error

    Perche mi scrive dopo l'invio dell'e-mail
    Thanks for contact us : !

    We contact your in email :
    No recipient addresses found in header

    Grazie (Il form è in php).

  2. #2
    postalo
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  3. #3
    Utente di HTML.it
    Registrato dal
    Feb 2005
    Messaggi
    2,245
    <?php

    $email1 = "info@stefanopisciella.it";

    $sme_form_c = "Contact form from http://www.stefanopisciella.it";

    $homepageurl = "http://www.stefanopisciella.it";

    $tnk = " we recive your email now soon we send the solution";

    ?>

    <form method="post" action="" name='form' onSubmit='return checa_formulario(this)'>
    <?php
    $date = date("m/d/Y H:i:s");
    if (!$_POST['sme_form']) { ?>
    <table width="70%" border="0" align="center">
    <td width="30%"> <div align="center">*Nome:</div></td>
    <td width="70%" > <input type="text" name="nome" size="40">
    </td>
    </tr>
    <td width="30%"> <div align="center">*Email:</div></td>
    <td width="70%" > <input type="text" name="email" size="40">
    </td>
    </tr>
    <td width="30%" ><div align="center">*Oggetto</div></td>
    <td width="70%"><input name="sub" type="text" size="40">
    </td>
    </tr>
    <td width="30%" ><div align="center">*Messaggio</div></td>
    <td width="70%"><textarea name="messaggio" cols="30" rows="5" ></textarea>
    </td>
    </tr>
    <td width="30%" nowrap><input type="hidden" name="sme_form" value="1"></td>
    <td width="70%" align="center"><input type="submit" value="Invia" name="submit" class="bottone">
    <input type="reset" value="Annulla" name="reset" class="bottone">
    </td>
    </tr>
    </table>
    </form>
    <?php }

    else
    {
    echo "<table width=100%><tr>
    Thanks for contact us : $_POST[Name]!


    We contact your in email : [b]$_POST[Email]
    </tr></table></center>";

    mail("$email1", "$sme_form_c","
    Message sent in $date
    --------------------------------------------------------

    Nome : $_POST[nome]
    Email : $_POST[email]
    Oggetto : $_POST[sub]
    Messaggio : $_POST[messaggio]
    --------------------------------------------------------
    \n
    \n\n
    ","From: $_POST[Email]");

    mail("$_POST[Email]","$homepageurl ", " $Name\n
    ---------------------------------------------\n
    Dear:$_POST[Nome]\n
    $tnk \n
    ---------------------------------------------\n
    \n
    \n\n","From: $email1");
    }
    ?>

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.