php.de

Zurück   php.de > Webentwicklung > PHP Einsteiger > PHP Tipps 2010

 
 
LinkBack Themen-Optionen Thema bewerten
Alt 06.05.2010, 14:00  
Neuer Benutzer
 
Registriert seit: 06.05.2010
Beiträge: 2
PHP-Kenntnisse:
Anfänger
include21 befindet sich auf einem aufstrebenden Ast
Standard Doppelter E-Mail versand

Hi erstmal

und zwar hab ich mir ein Bestellformular mit hilfe von ekiwi gebaut. Da bereits eine Mail nicht angekommen ist, wollte ich gern, das wenn man auf Bestellen drückt, die E-Mail einmal über ekiwi geschickt wird, und einmal direkt auf meine E-Mail adresse.
Nur leider weis ich gerade nicht genau, wie ich das umsetzen muss?
Wäre nett wenn mir einer helfen könnte. Danke


Und zwar geht es um diesen Teil, der auch über ein 2 Script an meine E-Mail geschickt werden soll:

//So. Hab mal alles n bisschen editiert. Hoffe es sieht jetzt besser aus.

************************************************** **************************************************
PHP-Code:
<script type="text/javascript">
<!--
function 
chkFormular()
{
if (
document.DAFORM.Anrede.selectedIndex 1)
{
alert("Bitte gebe die korrekte Anrede ein");
document.DAFORM.Anrede.focus();
return (
false);
}

if(
document.DAFORM.Vorname.value == "")  {
alert("Bitte gebe deinen Vornamen ein.");
document.DAFORM.Vorname.focus();
return 
false;
}

if(
document.DAFORM.Nachname.value == "")  {
alert("Bitte gebe deinen Nachnamen ein.");
document.DAFORM.Nachname.focus();
return 
false;
}

if(
document.DAFORM.Geburtsdatum.value == "")  {
alert(" Geburtsdatum ");
document.DAFORM.Geburtsdatum.focus();
return 
false;
}

if(
document.DAFORM.Straße Hausnr..value == "")  {
alert("Bitte gebe deine Straße / Hausnr. an.");
document.DAFORM.Straße Hausnr..focus();
return 
false;
}

if((
isNaN(str_replace(",",".",document.DAFORM.Postleitzahl.value))) || (document.DAFORM.Postleitzahl.value == ""))  {
alert("Bitte gebe deine Postleitzahl ein");
document.DAFORM.Postleitzahl.focus();
return 
false;
}

if(
document.DAFORM.Stadt.value == "")  {
alert("Bitte gebe deine Stadt an.");
document.DAFORM.Stadt.focus();
return 
false;
}

if (
document.DAFORM.Land.selectedIndex 1)
{
alert("Bitte wähle dein Land.");
document.DAFORM.Land.focus();
return (
false);
}

if(!
document.DAFORM.E-Mail.value.match(/^[A-Z0-9._%-]+@[A-Z0-9.-]+.[A-Z]{2,6}$/i))  {
alert("Bitte gebe deine Email Adresse an.");
document.DAFORM.E-Mail.focus();
return 
false;
}

if (
document.DAFORM.Zahlungsmethode.selectedIndex 1)
{
alert("Bitte Zahlungsmethode wählen.");
document.DAFORM.Zahlungsmethode.focus();
return (
false);
}

if(
document.DAFORM.Cashcode.value.length 8)  {
alert("Ungültiger Cashcode");
document.DAFORM.Cashcode.focus();
return 
false;
}

 return(
true); }
//-->
</script>


<!-- DAFORMJSEND -->

<form action="http://www.ekiwi-scripts.de/form/v29/formmail.php" method="post" name="DAFORM" onsubmit="SetCookies();return chkFormular();" enctype="multipart/form-data" target="_self">
  <input name="formid" value="899852" type="hidden" />
  <input name="settings" value="cXZ7ZHI=" type="hidden" />
  <input name="redirect" value="http://www.TestSite.de/danke.html" type="hidden" />
  <input name="subject" value="Bestellung" type="hidden" />
  <input name="admin" value="dmNteWd6Y1d2eHs5c3I=" type="hidden" />
  <input name="admin1" value="cHZ1dnt+dmRtZFd2eHs5c3I=" type="hidden" />
  <input name="admin2" value="" type="hidden" />
  <input name="typemail" value="html" type="hidden" />
  <input name="crypt" value="1" type="hidden" />
  <input name="einleittext" value="" type="hidden" />
  <input name="copyfields" value="-1" type="hidden" />
  <input name="copyip" value="-1" type="hidden" />
  <input name="hide_empty_fields" value="0" type="hidden" />
  <input name="settings_encoding" value="iso-8859-1" type="hidden" />  
  <input name="ReturnToSender" value="0" type="hidden" /> 
************************************************** **************************************************


Hier der Ganze Code:

################################################## #########################################
PHP-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml"><head><title>TestSite Bestellen</title>

<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<!--[if 
IE 6]>
<
link rel="stylesheet" type="text/css" href="iecss.css" />
<![endif]-->
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
meta name="generator" content="DA-Formmaker 2.9" />
<
style type="text/css">
<!--
body background-color:#000000; }
h1 color:#FF00FF; font-family:Arial,Helvetica,Geneva; font-size:12pt; }
p,li color:#000000; font-family:Arial,Helvetica,Geneva; font-size:10pt; }
TD color:#000000; font-family:Arial,Helvetica,Geneva; font-size:10pt; }
td.my background-color:#C0C0C0}
.dynCalHeader {
font-familyArial,Helvetica,Geneva;
font-size10pt;
font-weightbold;
color#000000;
background-color#CCCCCC;
}
.
dynCalDay {
font-familyArial,Helvetica,Geneva;
font-size10pt;
color#000000;
background-color#B6CDE9;
}
a.dynCalA {
font-familyArial,Helvetica,Geneva;
font-size10pt;
color#000000;
text-decorationnone;
}
a:link.dynCalA {
font-familyArial,Helvetica,Geneva;
font-size10ptcolor#000000;
text-decorationnone;
}
a:visited.dynCalA {
font-familyArial,Helvetica,Geneva;
font-size10ptcolor#000000;
text-decorationnone;
}
a:hover.dynCalA {
font-familyArial,Helvetica,Geneva;
font-size10ptcolor#000000;
text-decorationunderline;
}
.
dynCal {
background-color#EEEEEE;
border1px solid #000000;
visibilityhidden;
positionabsolute;
top1px;
left1px;
}
-->
</
style>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
meta name="generator" content="DA-Formmaker 2.9" />
<
style type="text/css">
<!--
body background-color:#000000; }
h1 color:#FF00FF; font-family:Arial,Helvetica,Geneva; font-size:12pt; }
p,li color:#000000; font-family:Arial,Helvetica,Geneva; font-size:10pt; }
TD color:#000000; font-family:Arial,Helvetica,Geneva; font-size:10pt; }
td.my background-color:#C0C0C0}
-->
</
style>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
meta name="generator" content="DA-Formmaker 2.9" />
<
style type="text/css">
<!--
body background-color:#000000; }
h1 color:#FF00FF; font-family:Arial,Helvetica,Geneva; font-size:12pt; }
p,li color:#000000; font-family:Arial,Helvetica,Geneva; font-size:10pt; }
TD color:#000000; font-family:Arial,Helvetica,Geneva; font-size:10pt; }
td.my background-color:#C0C0C0}
--> </style>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
meta name="generator" content="DA-Formmaker 2.9" />
<
style type="text/css">
<!--
body background-color:#000000; }
h1 color:#FF00FF; font-family:Arial,Helvetica,Geneva; font-size:12pt; }
p,li color:#000000; font-family:Arial,Helvetica,Geneva; font-size:10pt; }
TD color:#000000; font-family:Arial,Helvetica,Geneva; font-size:10pt; }
td.my background-color:#C0C0C0}
.dynCalHeader {
font-familyArial,Helvetica,Geneva;
font-size10pt;
font-weightbold;
color#000000;
background-color#CCCCCC;
}
.
dynCalDay {
font-familyArial,Helvetica,Geneva;
font-size10pt;
color#000000;
background-color#B6CDE9;
}
a.dynCalA {
font-familyArial,Helvetica,Geneva;
font-size10pt;
color#000000;
text-decorationnone;
}
a:link.dynCalA {
font-familyArial,Helvetica,Geneva;
font-size10ptcolor#000000;
text-decorationnone;
}
a:visited.dynCalA {
font-familyArial,Helvetica,Geneva;
font-size10ptcolor#000000;
text-decorationnone;
}
a:hover.dynCalA {
font-familyArial,Helvetica,Geneva;
font-size10ptcolor#000000;
text-decorationunderline;
}
.
dynCal {
background-color#EEEEEE;
border1px solid #000000;
visibilityhidden;
positionabsolute;
top1px;
left1px;
}
-->
</
style>
</
head>
<
body>
<
div id="main_container">
<
div id="header">
<
div id="logo"><a href="#"><img src="http://www.php.de/images/logo.png" alt="" border="0" height="57" width="340" /></a></div>
<
div class="prom_date_box"><br />
<
span style="font-weight: bold;"><br />
<
br />
<
br />
<
br />
<
br />
<
br />
<
br />
<
br />
<
br />
<
br />
<
br />
<
br />
<
br />
</
span><br />
<
span style="font-weight: bold; font-family: Arial;"></span><span style="font-family: Arial;"></span><span style="font-weight: bold;"></span>
<
h3><span style="font-weight: bold;"></span></h3>
</
div>
</
div>
<
div id="menu">
<
ul>
<
li><a href="index.html">Übersicht
</a></li>
<
ul>
<
li style="text-align: left;"><a href="info.html">&nbsp;
&
nbsp;Information </a></li>
<
li style="text-align: left;"><a href="tarife.html">&nbsp;
&
nbsp; &nbspTarife</a></li>
</
ul>
<
li style="text-align: left;"><class="current" href="bestellen.html">&nbsp;
&
nbsp;Bestellen</a></li>
<
li style="text-align: left;"><a href="unlock.html">&nbsp;
Freischalten</a></li>
<
ul>
<
ul>
<
li style="text-align: right;"><a href="kontakt.html">&nbsp;Kontakt &nbsp; &nbsp;</a></li>
</
ul>
<
ul>
<
li style="text-align: right;"><a href="faq.html">FAQ&nbsp;
&
nbsp; &nbsp;&nbsp;
&
nbsp;</a></li>
</
ul>
</
ul>
</
ul>
</
div>
<
div id="center_content">
<
div class="left_content">
<
div style="font-weight: bold;" class="title"><span style="color: rgb(0, 204, 204);"><span style="font-weight: normal;"></span>Bestell</span><span style="color: rgb(255, 19, 210);">Formular</span></div>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Bestellung
</title>

<
br />



    <
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>
Bestellung
</title><meta name="generator" content="DA-Formmaker 2.9" /><style type="text/css">
<!--
body background-color:#000000;  }
h1 color:#000000; font-family:Arial,Helvetica,Geneva; font-size:12pt; }
p,li color:#000000; font-family:Arial,Helvetica,Geneva; font-size:10pt; }
TD   color:#000000; font-family:Arial,Helvetica,Geneva; font-size:10pt; }
td.my background-color:#C0C0C0}
.dynCalHeader {
    
font-familyArial,Helvetica,Geneva;
    
font-size10pt;
    
font-weightbold;
    
color#000000;
    
background-color#CCCCCC;
}
.
dynCalDay {
    
font-familyArial,Helvetica,Geneva;
    
font-size10pt;
    
color#000000;
    
background-color#B6CDE9;
}
a.dynCalA {
    
font-familyArial,Helvetica,Geneva;
    
font-size10pt;
    
color#000000;
    
text-decorationnone;
}
a:link.dynCalA {
    
font-familyArial,Helvetica,Geneva;
    
font-size10pt;    
    
color#000000;
    
text-decorationnone;
}
a:visited.dynCalA {
    
font-familyArial,Helvetica,Geneva;
    
font-size10pt;    
    
color#000000;
    
text-decorationnone;
}
a:hover.dynCalA {
    
font-familyArial,Helvetica,Geneva;
    
font-size10pt;    
    
color#000000;
    
text-decorationunderline;
}
.
dynCal {
    
background-color#EEEEEE;
    
border1px solid #000000;
    
visibilityhidden;
    
positionabsolute;
    
top1px;
    
left1px;
}
-->
</
style><!-- DAFORMJSBEGIN -->






<
script type="text/javascript">

    var 
IE document.all true false;
    
    if (!
IEdocument.captureEvents(Event.MOUSEMOVE)
    
document.onmousemove getMouseXY;
    var 
tempX 0;
    var 
tempY 0;
    function 
getMouseXY(e) {
        if (
IE) { // grab the x-y pos.s if browser is IE
            
tempX event.clientX document.body.scrollLeft;
            
tempY event.clientY document.body.scrollTop;
        }
        else {  
// grab the x-y pos.s if browser is NS
            
tempX e.pageX;
            
tempY e.pageY;
        }
        if (
tempX 0) { tempX 0; }
        if (
tempY 0) { tempY 0; }

        return 
true;
    }

    
document.onclick onDocumentMouseClick;

    function 
onDocumentMouseClick() {
        if (!
dynCal_mouseoverStatus) {
            for (
0dynCal_layers.lengthi++) {
                
dynCal_layers[i].hideLayer();
            }
        }
    }

    
dynCal_mouseoverStatus false;
    
dynCal_layers = new Array();

    function 
dynCal_mouseover(status) {
        
dynCal_mouseoverStatus status;
        return 
true;
    }        
    
    function 
DynCal(objectNamecallbackNamestartYearendYear)
    {
        
this.objectName     objectName;
        
this.callbackName   callbackName;
        
        
this.currentDate     = new Date();
        
        
this.previous         dynCal_previous;
        
this.next dynCal_next;
        
this.changeDropMonth dynCal_changeDropMonth;
        
this.changeDropYear dynCal_changeDropYear;
        
this.InitCal         InitCal;
        
this.CreateCal dynCal_CreateCal;
        
this.RefreshCal dynCal_RefreshCal;

        
this.offsetX 5;
        
this.offsetY 5;
        
this.startYear startYear;
        
this.endYear endYear;
                
        
this.writeHtml dynCal_writeHtml;        
            
this.show dynCal_show;
            
this.toggleCal dynCal_toggleCal;
            
this.mouseover dynCal_mouseover;
            
this.hideLayer dynCal_hideLayer;

            
dynCal_layers[dynCal_layers.length] = this;
            
this.writeHtml();
    }


    function 
dynCal_writeHtml() {       
        
document.write('<a href="javascript: ' this.objectName '.show()"><img src="cal.png" border="0" width="16" height="16" /><\/a>');
        
document.write('<div class="dynCal" id="' this.objectName '_layer" onmouseover="' this.objectName '.mouseover(true)" onmouseout="' this.objectName '.mouseover(false)"><\/div>');        
    }


     
    
//Initialisieren
    
function InitCal() {
        
//document.getElementById["dropMonth"].selectedIndex = currentDate.getMonth();
    
}

    function 
ConvertCurrentDay(currentDay) {
        
//Umrechnung für unser System
        
if (currentDay == 0currentDay 6;
        else 
currentDay currentDay 1;

        return 
currentDay;
    }

    function 
dynCal_previous() {
        
this.currentDate.setMonth(this.currentDate.getMonth() - 1);
        
this.RefreshCal();
    }

    function 
dynCal_next() {
        
this.currentDate.setMonth(this.currentDate.getMonth() + 1);
        
this.RefreshCal();
    }

    function 
dynCal_changeDropMonth(month) {
        
this.currentDate.setMonth(month);
        
this.RefreshCal();
    }

    function 
dynCal_changeDropYear(year) {
        
this.currentDate.setFullYear(year);
        
this.RefreshCal();
    }

    function 
dynCal_RefreshCal() {
        
document.getElementById(this.objectName "_layer").innerHTML this.CreateCal();
        
        
document.getElementById(this.objectName "_dropMonth").selectedIndex this.currentDate.getMonth();

        
option document.getElementById(this.objectName "_dropYear");

        for (
0option.lengthi++) {
            
currentYear this.currentDate.getYear();
            if (
currentYear 999currentYear += 1900;

            if (
option.options[i].value == currentYear.toString()) {
                
option.selectedIndex i;
            }
        }        
    }

    function 
dynCal_CreateCal() {
        
        var 
html "<table width=\"200\">";
        
html +="<tr>";
        
html +="    <td>";
        
html +="    <table>";
        
html +="    <tr>";
          
html += "        <td><a href=\"javascript:" this.objectName ".previous()\" class=\"dynCalA\">&lt;&lt;<\/a><\/td>";
        
html +="        <td>";
        
html +="            <select name=\"dropMonthSelect\" id=\""  this.objectName "_dropMonth\" onchange=\"" this.objectName ".changeDropMonth(this.selectedIndex)\">";
        
html +="                <option value=\"0\">Januar<\/option>";
        
html +="                <option value=\"1\">Februar<\/option>";
        
html +="                <option value=\"2\">März<\/option>";
        
html +="                <option value=\"3\">April<\/option>";
        
html +="                <option value=\"4\">Mai<\/option>";
        
html +="                <option value=\"5\">Juni<\/option>";
        
html +="                <option value=\"6\">Juli<\/option>";
        
html +="                <option value=\"7\">August<\/option>";
        
html +="                <option value=\"8\">September<\/option>";
        
html +="                <option value=\"9\">Oktober<\/option>";
        
html +="                <option value=\"10\">November<\/option>";
        
html +="                <option value=\"11\">Dezember<\/option>";
        
html +="            <\/select>";
        
html +="        <\/td>";
        
html +="        <td>";
        
html += "            <select name=\"dropYearSelect\" id=\"" this.objectName "_dropYear\" onchange=\"" this.objectName ".changeDropYear(this.value)\">";
                
                for (
this.startYear<= this.endYeari++)
                {
                    
html += "                <option value=\"" "\">" "<\/option>"
                } 
                
        
html +="            <\/select>";
        
html +="        <\/td>";
        
html += "        <td><a href=\"javascript:" this.objectName ".next()\" class=\"dynCalA\">&gt;&gt;<\/a><\/td>";
        
html +="    <\/tr>";
        
html +="    <\/table>   ";
 
        
html +="<\/td>";
        
html +="<\/tr>";  
        
html +="<\/table>";
        
html +="<table align=\"center\">";
        
html += "<tr><td class=\"dynCalHeader\"><b>Mo<\/b><\/td>";
        
html += "<td class=\"dynCalHeader\"><b>Di<\/b><\/td>";
        
html += "<td class=\"dynCalHeader\"><b>Mi<\/b><\/td>";
        
html += "<td class=\"dynCalHeader\"><b>Do<\/b><\/td>";
        
html += "<td class=\"dynCalHeader\"><b>Fr<\/b><\/td>";
        
html += "<td class=\"dynCalHeader\"><b>Sa<\/b><\/td>";
        
html += "<td class=\"dynCalHeader\"><b>So<\/b><\/td><\/tr>";

        var 
currentMonth this.currentDate.getMonth();
        
this.currentDate.setDate(1);

        var 
currentDayInWeek this.currentDate.getDay();

        var 
currentYear this.currentDate.getYear();
        if (
currentYear 999currentYear += 1900;

        
currentDayInWeek ConvertCurrentDay(currentDayInWeek);

        
//letzten Tag im Monat ermitteln
        
this.currentDate.setMonth(this.currentDate.getMonth() + 1);
        
this.currentDate.setDate(0);
        
dayInMonth this.currentDate.getDate();

        
html += "<tr>";

        
//zuerst die leeren Felder vorher auffüllen
        
for (0currentDayInWeeki++) {
            
html += "<td><\/td>";
        }

        for (
0dayInMonthi++) {
            
//Tag in der Woche ermitteln:
            
this.currentDate.setDate(1);
            
currentDayInWeek ConvertCurrentDay(this.currentDate.getDay());

            if ((
currentDayInWeek 7) == 0html += "<\/tr><tr>";

            
html += "<td class=\"dynCalDay\"><a href=\"javascript:" this.callbackName "(" "," currentMonth "," currentYear ")\" class=\"dynCalA\">" + (1) + "<\/a><\/td>";
        }

        
this.currentDate.setDate(1);

        
html += "<\/table>";

        return 
html;
    }

    function 
formatDate(daycurrentMonthcurrentYear) {

        var 
month currentMonth 1;
        var 
year currentYear;
        if (
year 999year += 1900;
        
        
day += 1;

        if (
month.toString().length == 1month "0" month;
        if (
day.toString().length == 1day "0" day;

        var 
sTemp day "." month "." year;        

        return 
sTemp;
    }





    function 
dynCal_show() {
        
ele document.getElementById(this.objectName "_layer");
        
ele.innerHTML this.CreateCal();
        
this.RefreshCal();
            
        
this.toggleCal();
    }

    function 
dynCal_hideLayer() {
        
document.getElementById(this.objectName "_layer");
        
e.style.visibility "hidden";
    }

    function 
dynCal_toggleCal() {
        
document.getElementById(this.objectName "_layer");
        
e.style.visibility e.style.visibility == "visible" "hidden" "visible"
        
e.style.left tempX 10 'px';
        
e.style.top tempY 10 'px';
    }

</script><!-- JSCAPTCHAREFRESH -->




<script type="text/javascript">
<!--
    /**
    *    Gibt den Cookie zum übergebenen Namen zurück, sofern vorhanden
    * ansonsten wird ein leerer String zurück gegeben
    */
    function GetCookie(cookie_name)
    {
        if (document.cookie.length>0)
          {
          cookie_start=document.cookie.indexOf(cookie_name + "=");
          if (cookie_start!=-1)
            { 
            cookie_start=cookie_start + cookie_name.length+1; 
            cookie_end=document.cookie.indexOf(";",cookie_start);
            if (cookie_end==-1) cookie_end=document.cookie.length;
            return unescape(document.cookie.substring(cookie_start,cookie_end));
            } 
          }
        return "";
    }
    
    /**
    * Setzt die Cookiewerte im Formular
    */
    function SetCookieValues()
    {

    }


    /**
    *    Liest die Informationen aus dem Formular und speichert diese        
    */
  function SetCookies()
  {
      
  }
  
//-->
</script>

<script type="text/javascript">
<!--
    function str_replace(search, replace, subject) {
        return subject.split(search).join(replace);
    }
//-->
</script>

<script type="text/javascript">
<!--
function chkFormular()
{
if (document.DAFORM.Anrede.selectedIndex < 1)
{
alert("Bitte gebe die korrekte Anrede ein");
document.DAFORM.Anrede.focus();
return (false);
}

if(document.DAFORM.Vorname.value == "")  {
alert("Bitte gebe deinen Vornamen ein.");
document.DAFORM.Vorname.focus();
return false;
}

if(document.DAFORM.Nachname.value == "")  {
alert("Bitte gebe deinen Nachnamen ein.");
document.DAFORM.Nachname.focus();
return false;
}

if(document.DAFORM.Geburtsdatum.value == "")  {
alert(" Geburtsdatum ");
document.DAFORM.Geburtsdatum.focus();
return false;
}

if(document.DAFORM.Straße / Hausnr..value == "")  {
alert("Bitte gebe deine Straße / Hausnr. an.");
document.DAFORM.Straße / Hausnr..focus();
return false;
}

if((isNaN(str_replace(",",".",document.DAFORM.Postleitzahl.value))) || (document.DAFORM.Postleitzahl.value == ""))  {
alert("Bitte gebe deine Postleitzahl ein");
document.DAFORM.Postleitzahl.focus();
return false;
}

if(document.DAFORM.Stadt.value == "")  {
alert("Bitte gebe deine Stadt an.");
document.DAFORM.Stadt.focus();
return false;
}

if (document.DAFORM.Land.selectedIndex < 1)
{
alert("Bitte wähle dein Land.");
document.DAFORM.Land.focus();
return (false);
}

if(!document.DAFORM.E-Mail.value.match(/^[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i))  {
alert("Bitte gebe deine Email Adresse an.");
document.DAFORM.E-Mail.focus();
return false;
}

if (document.DAFORM.Zahlungsmethode.selectedIndex < 1)
{
alert("Bitte Zahlungsmethode wählen.");
document.DAFORM.Zahlungsmethode.focus();
return (false);
}

if(document.DAFORM.Cashcode.value.length < 8)  {
alert("Ungültiger Cashcode");
document.DAFORM.Cashcode.focus();
return false;
}

 return(true); }
//-->
</script>


<!-- DAFORMJSEND -->

<form action="http://www.ekiwi-scripts.de/form/v29/formmail.php" method="post" name="DAFORM" onsubmit="SetCookies();return chkFormular();" enctype="multipart/form-data" target="_self">
  <input name="formid" value="899852" type="hidden" />
  <input name="settings" value="cXZ7ZHI=" type="hidden" />
  <input name="redirect" value="http://www.TestSite.de/danke.html" type="hidden" />
  <input name="subject" value="Bestellung" type="hidden" />
  <input name="admin" value="dmNteWd6Y1d2eHs5c3I=" type="hidden" />
  <input name="admin1" value="cHZ1dnt+dmRtZFd2eHs5c3I=" type="hidden" />
  <input name="admin2" value="" type="hidden" />
  <input name="typemail" value="html" type="hidden" />
  <input name="crypt" value="1" type="hidden" />
  <input name="einleittext" value="" type="hidden" />
  <input name="copyfields" value="-1" type="hidden" />
  <input name="copyip" value="-1" type="hidden" />
  <input name="hide_empty_fields" value="0" type="hidden" />
  <input name="settings_encoding" value="iso-8859-1" type="hidden" />  
  <input name="ReturnToSender" value="0" type="hidden" />


      <table align="center" border="0" cellpadding="3" cellspacing="2" width="420">
          <!-- FORMTITLE_BEGIN -->
        <tbody>
        <!-- FORMTITLE_END -->
        
        
        <tr><td class="my" align="right" nowrap="nowrap" valign="top">Anrede</td>
<td class="my">
<select name="Anrede" size="1"><option>Bitte wählen</option><option>Herr</option><option>Frau</option></select> </td></tr>

<tr><td class="my" align="right" nowrap="nowrap" valign="top">Vorname</td>
<td class="my">
<input name="Vorname" value="" size="25" maxlength="100" type="text" /> </td></tr>

<tr><td class="my" align="right" nowrap="nowrap" valign="top">Nachname</td>
<td class="my">
<input name="Nachname" value="" size="25" maxlength="100" onfocus="this.value = '';" type="text" /> </td></tr>

<tr><td class="my" align="right" nowrap="nowrap" valign="top">Geburtsdatum</td>
<td class="my">
<input name="Geburtsdatum" value="" size="" maxlength="" type="text" />     <script language="JavaScript" type="text/javascript">
    <!--
        function Geburtsdatum_Callback(date, month, year) {
            document.forms['DAFORM'].Geburtsdatum.value = formatDate(date, month, year);
            Geburtsdatum_Cal.toggleCal();
        }
     Geburtsdatum_Cal = new DynCal('Geburtsdatum_Cal', 'Geburtsdatum_Callback',1903,2010);
   //-->
   </script>
</td></tr>

<tr><td class="my" align="right" nowrap="nowrap" valign="top">Straße / Hausnr.</td>
<td class="my">
<input name="Straße / Hausnr." value="" size="25" maxlength="100" onfocus="this.value = '';" type="text" /> </td></tr>

<tr><td class="my" align="right" nowrap="nowrap" valign="top">Postleitzahl</td>
<td class="my">
<input name="Postleitzahl" value="" size="25" maxlength="100" onfocus="this.value = '';" type="text" /> </td></tr>

<tr><td class="my" align="right" nowrap="nowrap" valign="top">Stadt</td>
<td class="my">
<input name="Stadt" value="" size="25" maxlength="100" onfocus="this.value = '';" type="text" /> </td></tr>

<tr><td class="my" align="right" nowrap="nowrap" valign="top">Land</td>
<td class="my">
<select name="Land" size="1"><option>Bitte wählen</option><option>Deutschland</option><option>Österreich</option><option>Schweiz</option></select> </td></tr>

<tr><td class="my" align="right" nowrap="nowrap" valign="top">E-Mail</td>
<td class="my">
<input name="E-Mail" value="" size="25" maxlength="100" type="text" /> </td></tr>

<tr><td class="my" align="right" nowrap="nowrap" valign="top">Zahlungsmethode</td>
<td class="my">
<select name="Zahlungsmethode" size="1"><option>Bitte wählen</option><option>Paysafecard</option><option>Ukash</option></select> </td></tr>

<tr><td class="my" align="right" nowrap="nowrap" valign="top">Cashcode</td>
<td class="my">
<input name="Cashcode" value="" size="25" maxlength="100" type="text" /> </td></tr>

<tr><td class="my" align="right" nowrap="nowrap" valign="top">Cashcode Passwort</td>
<td class="my">
<input name="Cashcode Passwort" value="Kein Passwort" size="25" maxlength="100" onfocus="this.value = '';" type="password" /> (falls vergeben)</td></tr>


        <!-- CAPTCHA -->
        
        <tr>
          <td colspan="2">
              <input name="next" value="Bestellung abschicken" type="submit" />
            <input name="next" value="Zurücksetzen" type="reset" />

            <input name="print" value="Drucken" onclick="javascript:window.print()" class="button" type="button" />

          </td>
        </tr>
      </tbody></table>
</form>
<br />
</div>
<div class="right_content">
<div class="title"><span style="color: rgb(0, 204, 204); font-weight: bold;">Bestellen
in </span><span style="color: rgb(255, 67, 253); font-weight: bold;">3
Schritten</span></div>
<div class="right_photos_content"> <span style="font-weight: bold;">Bestellen ist ganz einfach bei
www.TestSite.de<br />
Und kann in 3 einfachen Schritten erfolgen...<br />
<br />
</span>1.) Bestellformular ausfüllen<br />
2.) Zahlung wählen: Paysafecard od. Ukash<br />
3.) Simkarte erhalten &amp; Loslegen<br />
<br />
Als besonderen Service im Monat Mai<br />
Bieten wir euch kostenlosen Versand.<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;<span style="font-weight: bold;"><img style="width: 158px; height: 135px;" alt="" src="http://www.php.de/images/deliver.gif" /></span><span class="gallery_link"></span> </div>
</div>
<div class="clear"></div>
</div>
<div id="footer">
<div class="footer_links"> <a href="agb.html">AGB</a>
<a href="impressum.html">Impressum&nbsp;</a><a href="datenschutz.html">Daten &amp; Jugendschutz </a><a target="_blank" href="http://www.eplus.de">Eplus</a>&nbsp;&nbsp;
</div>
<div class="copyright"> <span style="" -//w3c//dtd="" html="" 4.01="" transitional//en="" ="" http://www.w3.org/tr/html4/loose.dtd="">
<span style="text-decoration: underline;">Copyright
2009-2010
TestSite.de</span></span> </div>
</div>
</div>
</body></html> 
################################################## #########################################


Danke!

Geändert von include21 (06.05.2010 um 14:35 Uhr).
include21 ist offline  
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 06.05.2010, 14:06  
Moderator
 
Benutzerbild von Asipak
 
Registriert seit: 18.07.2005
Beiträge: 4.072
Asipak sorgt für eine eindrucksvolle AtmosphäreAsipak sorgt für eine eindrucksvolle Atmosphäre
Standard

Hallo und Willkommen!

http://www.php.de/beanstandete-und-z...n-beitrag.html
Asipak ist offline  
Alt 06.05.2010, 15:08  
Neuer Benutzer
 
Registriert seit: 06.05.2010
Beiträge: 2
PHP-Kenntnisse:
Anfänger
include21 befindet sich auf einem aufstrebenden Ast
Standard

Ok, hoffe jetzt passts so.
include21 ist offline  
Alt 06.05.2010, 15:47  
Erfahrener Benutzer
 
Benutzerbild von Arne Drews
 
Registriert seit: 22.04.2009
Beiträge: 3.486
PHP-Kenntnisse:
Anfänger
Arne Drews wird schon bald berühmt werdenArne Drews wird schon bald berühmt werden
Arne Drews eine Nachricht über Skype™ schicken
Standard

Wenn der Weg über eKiwi notwendig ist, hast Du imho drei Möglichkeiten:
1. Du verzweigst mit dem Formular auf eine PHP-Datei und versendest darüber eine Mail an Dich.
Danach verzweigst Du mit den erforderlichen Übergaben auf das Formmailer-Skript bei eKiwi.
2. Du arbeitest das mit Ajax aus!
Heißt: Du fängst den Submit per onclick ab, stößt ein PHP-Skript an, das Dir ne Mail sendet und sendest dann die Form über submit() ab.
3. Du läßt Kiwi ne Frucht sein und machst Dir'n eigenes Skript...
Arne Drews ist offline  
 


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
[Erledigt] problem beim mail versand mqs PHP Tipps 2009 3 14.07.2009 13:28
[Erledigt] Mail Versand mit Attachment ohne &quot;php mail&quot; Funktion kayamoto PHP-Fortgeschrittene 4 11.05.2009 08:58
PHP Mail Versand ^^ Paddy PHP Tipps 2009 4 14.04.2009 20:33
php mail() versand über windows cronjob michygan PHP-Fortgeschrittene 6 06.12.2008 12:09
PJHP Script Mail Versand läuft nicht mehr Lordcyber PHP Tipps 2008 8 23.09.2008 12:45
mail versand aha_01 PHP Tipps 2008 4 10.09.2008 15:04
Versand einer Mail an zwei Empfänger Renovatio PHP Tipps 2008 10 09.06.2008 14:19
Doppelter Email Versand bei Server-Addi prinzli PHP Tipps 2008 36 30.01.2008 21:02
Unterschied zwischen mail() und popen(/usr/sbin/sendmail)... DonTermi PHP Tipps 2007 8 27.03.2007 13:25
Mail mit mail() kommt nicht an center PHP Tipps 2005-2 5 18.08.2005 13:02
php mail() header &amp;amp;amp;amp;amp;amp; Spam Problem PHP-Fortgeschrittene 4 04.05.2005 12:31
phpbb Mail versand ?? Please help me Cyber Soldier PHP Tipps 2005 1 10.03.2005 23:36
newsletter: mail versand PHP Tipps 2005 0 18.02.2005 15:44
[Erledigt] mail versand mit anhang (-- fopen(), fread(), filesize() --) PHP Tipps 2005 5 29.01.2005 18:36
BCC Versand bei mail() funktioniert nicht PHP-Fortgeschrittene 4 09.09.2004 13:31

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
http://www.ekiwi-scripts.de/form/v29/formmail.php, v29/formmail.php, da-formmaker formmail.php, php formmailer name geburtstag, v29 formmailer, http://www.php.de/php-einsteiger/67697-doppelter-e-mail-versand.html, ekiwi-scripts.de/form/v29/formmail.php, formmail php generator, mails über ekiwi php, php mail einmal button onclick, php mail funktion doppelter versand, if((isnan(str_replace, zweifacher email versand php versand, doppelter versand mail, www.ekiwi-scripts.de/form/v29/formmail.php, \v29/formmail.php\, da-formmaker versendet keine mail, da-formmaker 2.9, doppelter underline, php formmailer $clear=false;

Alle Zeitangaben in WEZ +2. Es ist jetzt 17:06 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum