Visualizzazione dei risultati da 1 a 7 su 7

Discussione: Php form

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

    Php form

    Ho fatto un form in php solo che quando sendo l'email su explorer la scritta "Messaggio inviato" appare a sinistra il resto dei browser al centro come di norma perchè?

  2. #2
    nn sono sicuro riguardi il php questo problema..te cmq posta il codice della pagina della mai inviata
    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 = "Info";

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

    $tnk = " La contatteremo il prima possibile. Grazie lo Staff.";

    ?>

    <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" cellpadding="1" cellspacing="1">
    <td width="30%"> <div align="center">*Nome:</div>
    </td>
    <td width="70%"><input type="text" name="Name" 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">*Message</div>
    </td>
    <td width="70%"><textarea name="Message" cols="30" rows="5" ></textarea>
    </td>
    </tr>
    <td width="30%" nowrap><input type="hidden" name="sme_form" value="1"></td>
    <td width="70%"><div align="center"><input type="submit" value="Invia" name="submit">
    <input type="reset" value="Annulla" name="reset">
    </div>
    </td>
    </tr>
    </table>
    </form>
    <?php }

    else
    {
    echo "<table width=100%><tr>
    Grazie per avermi contattato : $_POST[Name]!


    La contatterò tramite l'indirizzo [b]$_POST[Email]
    </tr></table></center>";

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

    Nome : $_POST[Name]
    Email : $_POST[Email]
    Oggetto : $_POST[sub]
    Messaggio : $_POST[Message]
    --------------------------------------------------------
    \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");
    }
    ?>

  4. #4
    Codice PHP:

    <?php 

    else 

    echo 
    "<p align='center'><table width=100%><tr> 
    Grazie per avermi contattato : 
    $_POST[Name]


    La contatterò tramite l'indirizzo [b]
    $_POST[Email] 
    </tr></table></p>"
    ;
    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

  5. #5
    Utente di HTML.it
    Registrato dal
    Feb 2005
    Messaggi
    2,245
    io provo....poi appena posso ti dico ciao e grazie

  6. #6
    Utente di HTML.it
    Registrato dal
    Feb 2005
    Messaggi
    2,245
    Ho provato ma nulla :master: :master: :master:

  7. #7
    Utente di HTML.it
    Registrato dal
    Feb 2005
    Messaggi
    2,245
    A prescindere che explorer è quello che è....sara un problema di lettura di codice php da parte di explorer?

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.