Daten zu php übermitteln???

10304

Grünschnabel
Zu Aller erst Sorry wenn das hier das Falsche Forum ist weiß nicht wo ich das zuordnen soll.


Was muss ich in einer php datei hinein schreiben, damit er mir diese daten per email zusendet.


PHP:
        <SCRIPT LANGUAGE="JavaScript">
        <!--


function check(checkbox, senden) {
if(checkbox.checked==true){
senden.disabled = false;
}
else {
senden.disabled = true;
}
}

var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";win=window.open(mypage,myname,settings);
win.focus();}

        var gesamtpreis=0;
        for (i in items) {
                 if (items[i][3] > 0) {

                        document.write('<TR><TD><center><font face="verdana" size="2"><b>' +items[i][3]+ '</TD>\n');
                        document.write('<TD><font face="verdana" size="2"><b>' +items[i][0]+ '</TD>\n');
                        document.write('<TD><font face="verdana" size="2"><b>' +items[i][1]+ '</TD>\n');
                        document.write('<TD ALIGN="Right"><font face="verdana" size="2"><b>' +items[i][2]+ ' €</TD>\n');
                        document.write('<TD ALIGN="Right"><font face="verdana" size="2"><b>' +rechnen()+ ' €</TD></TR>\n');

                     }
                  }
                        document.write('<TR><TD ALIGN="Right" COLSPAN=4><font face="verdana" size="2"><b>Gesamtsumme</TD><TD ALIGN="Right"><font face="verdana" size="2"><b>' +gesamt()+ ' €</TD>');
                        document.write('</TR></TABLE>');



        for (i in items) {
                 if (items[i][3] > 0) {

                document.write('<INPUT TYPE="HIDDEN" NAME="order' +i+ '" VALUE="' +items[i][3]+ '">');
                document.write('<INPUT TYPE="HIDDEN" NAME="order' +i+ '" VALUE="' +items[i][0]+ '">');
                document.write('<INPUT TYPE="HIDDEN" NAME="order' +i+ '" VALUE="' +items[i][1]+ '">');
                document.write('<INPUT TYPE="HIDDEN" NAME="order' +i+ '" VALUE="' +items[i][2]+ '">');
                document.write('<INPUT TYPE="HIDDEN" NAME="order' +i+ '" VALUE="' +rechnen()+ ' €">');

                }
        }

        //-->
        </SCRIPT>


Danke im Vorraus.
 
Zurück