kostenloser Webspace werbefrei: lima-city


Suche auf lima-city

  • in: Formmailer funktioniert nicht richtig!

    geschrieben von krissi123

    Hallo!

    Ich hab mir mit so einem Wizard einen kleinen Formmailer gebastelt, der als Anmeldungs-Script verwendet werden soll. Die Leute gehen auf die Seite, tragen ihre Daten ein und das ganze soll per Mail an mich gesendet werden.
    Doch leider kommen keine Mails bei mir an. Oder dauert das schonmal so um die 3 Tage?

    Vielleicht k?nntet ihr mal kurz nen Blick ?ber den Code werfen und sagen, was eventuell der Verursacher sein kann!

    Vielen dank!!!!

    Krissi


    edit: Oh gott bin ich blind. Ein Thread weiter oben steht ja die L?sung meines Problems ;) SOrry!

    Process.html


    <?php
    include("global.inc.php");
    $errors=0;
    $error="The following errors occured while processing your form input.<ul>";
    pt_register('POST','Name');
    pt_register('POST','Vorname');
    pt_register('POST','eMail');
    pt_register('POST','AnzahlBegleitpersonen');
    if($Name=="" || $Vorname=="" || $eMail=="" || $AnzahlBegleitpersonen=="" ){
    $errors=1;
    $error.="<li>You did not enter one or more of the required fields. Please go back and try again.";
    }
    if($errors==1) echo $error;
    else{
    $where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
    $message="Name: ".$Name."
    Vorname: ".$Vorname."
    eMail: ".$eMail."
    Anzahl Begleitpersonen: ".$AnzahlBegleitpersonen."
    ";
    $message = stripslashes($message);
    mail("meineemail@web.de","Form Submitted at your website",$message,"From: phpFormGenerator");
    ?>


    <!-- This is the content of the Thank you page, be careful while changing it -->

    <h2>Thank you!</h2>

    <table width=50%>
    <tr><td>Name: </td><td> <?php echo $Name; ?> </td></tr>
    <tr><td>Vorname: </td><td> <?php echo $Vorname; ?> </td></tr>
    <tr><td>eMail: </td><td> <?php echo $eMail; ?> </td></tr>
    <tr><td>Anzahl Begleitpersonen: </td><td> <?php echo $AnzahlBegleitpersonen; ?> </td></tr>
    </table>
    <!-- Do not change anything below this line -->

    <?php
    }
    ?>



    Form1.html

    <form enctype='multipart/form-data' action='process.php' method='post'>
    <table border="1" cellspacing="1" style="border-collapse: collapse" bordercolor="#000066" width="95%" cellpadding="5">
    <tr>
    <td colspan="3" bgcolor="#B5CBEF" height="17" width="100%" bordercolor="#FFFFFF" background="tile_back.gif">
    <p align="left\><b><font face="Verdana" size="2" color="#FFFFFF"><img border="0" src="nav_m.gif" width="8" height="8">
    <font face='Verdana' size=2 color='#FFFFFF'><b>
    <!- You can add a form title here -->
    ?
    </font><font face="Verdana" size="2" color="#000066"> </font></b></td>
    </tr><tr><td colspan="3" bgcolor="#B5CBEF" height="16" width="100%" bordercolor="#FFFFFF" background="tile_sub.gif"><font size="2" face="Verdana"><b><font face="Verdana" size="2" color="#000066">
    <!- You can add a brief form description here-->
    ?
    </font></b></font></td></tr><tr><td colspan="3" bgcolor="#D6DFEF" height="16" width="100%" bordercolor="#FFFFFF"><font size="3" face="Verdana">Hiermit melde ich mich verbindlich zur Stufenparty am XX.XX.XXXX an!</font></td></tr><tr><td height="30" width="55" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="bc_new.gif" width="28" height="28"></td><td height="30" width="189" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Name</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><input type=text name='Name'></td></tr><tr><td height="30" width="55" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="bc_new.gif" width="28" height="28"></td><td height="30" width="189" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Vorname</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><input type=text name='Vorname'></td></tr><tr><td height="30" width="55" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="bc_new.gif" width="28" height="28"></td><td height="30" width="189" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">eMail</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><input type=text name='eMail'></td></tr><tr><td height="30" width="55" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="bc_new.gif" width="28" height="28"></td><td height="30" width="189" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Anzahl Begleitpersonen</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><select name='AnzahlBegleitpersonen'><option value='0'>0<option value='1'>1</select></td></tr><tr><td colspan="3" bgcolor="#B5CBEF" height="25" width="737" background="tile_sub.gif"><p align="center"><font face="Verdana" size="2"><input type=submit value='Abschicken'>?????????????? <input type=reset value='Daten l?schen'></font></td></tr>
    </table></form> <br><br><a href='http://phpformgen.sourceforge.net'><img src='button.jpg' border=0></a>

Login zum Webhosting ohne Werbung!