A
Amsel00
Guest
Guten Morgen an alle,
Habe eine eine HP erstelt und da ist eine Seite PHP Kontaktformular. Nun zu meinem Problem die Seite würd auch angezeigt nur leider geht das PHP Script nich. Kennt sich jemand mit sowas aus und kann mir sagen wo der Fehler liegt.
ich danke euch schon mal im Vorraus.
mfg Amsel00
Habe eine eine HP erstelt und da ist eine Seite PHP Kontaktformular. Nun zu meinem Problem die Seite würd auch angezeigt nur leider geht das PHP Script nich. Kennt sich jemand mit sowas aus und kann mir sagen wo der Fehler liegt.
PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Fa. test GmbH</title>
<meta name="generator" content="WYSIWYG Web Builder - http://www.wysiwygwebbuilder.com">
<script type="text/javascript">
<!--
function SwapImage()
{
var doc=document, args=arguments;
doc.$imgSwaps = new Array();
for(var i=2; i<args.length; i+=2)
{
var elem=FindObject(args[i]);
if(elem)
{
doc.$imgSwaps[doc.$imgSwaps.length]=elem;
elem.$src=elem.src;
elem.src=args[i+1];
}
}
}
// -->
</script>
<script type="text/javascript">
<!--
function FindObject(id, doc)
{
var child, elem;
if(!doc)
doc=document;
if(doc.getElementById)
elem=doc.getElementById(id);
else
if(doc.layers)
child=doc.layers;
else
if(doc.all)
elem=doc.all[id];
if(elem)
return elem;
if(doc.id==id || doc.name==id)
return doc;
if(doc.childNodes)
child=doc.childNodes;
if(child)
{
for(var i=0; i<child.length; i++)
{
elem=FindObject(id,child[i]);
if(elem)
return elem;
}
}
var frm=doc.forms;
if(frm)
{
for(var i=0; i<frm.length; i++)
{
var elems=frm[i].elements;
for(var j=0; j<elems.length; j++)
{
elem=FindObject(id,elems[i]);
if(elem) return elem;
}
}
}
return null;
}
// -->
</script>
<script language="JavaScript" type="text/javascript">
<!--
function ShowObject(id, flag)
{
var elem=FindObject(id);
if(elem)
elem.style.visibility=flag?'visible':'hidden';
}
//-->
</script>
</head>
<body bgcolor="#FFAD5B" text="#000000">
<div id="wb_Text1" style="position:absolute;left:6px;top:127px;width:430px;height:108px;z-index:30;" align="left">
<font style="font-size:16px" color="#000000" face="Arial">Firma test GmbH<br>
test 48<br>
42745 test<br>
Telefon: <br>
Fax: <br>
Mail:test.info</font></div>
<div id="wb_Form1" style="position:absolute;left:31px;top:244px;width:407px;height:451px;z-index:31;" align="left">
<form name="Form1" method="get" action="inf@schaltanlagenbau.info" enctype="text/plain" id="Form1">
<div id="wb_Text2" style="position:absolute;left:9px;top:16px;width:146px;height:14px;z-index:0;" align="left">
<font style="font-size:11px" color="#000000" face="Arial">Firma</font></div>
<input type="text" id="Editbox1" style="position:absolute;left:166px;top:15px;width:200px;font-family:Courier New;font-size:16px;z-index:1" name="Editbox1" value="">
<div id="wb_Text3" style="position:absolute;left:10px;top:44px;width:146px;height:14px;z-index:2;" align="left">
<font style="font-size:11px" color="#000000" face="Arial">Name</font></div>
<input type="text" id="Editbox2" style="position:absolute;left:166px;top:44px;width:200px;font-family:Courier New;font-size:16px;z-index:3" name="Editbox2" value="">
<div id="wb_Text4" style="position:absolute;left:10px;top:73px;width:146px;height:14px;z-index:4;" align="left">
<font style="font-size:11px" color="#000000" face="Arial">Straße</font></div>
<input type="text" id="Editbox3" style="position:absolute;left:166px;top:73px;width:200px;font-family:Courier New;font-size:16px;z-index:5" name="Editbox3" value="">
<div id="wb_Text5" style="position:absolute;left:10px;top:102px;width:146px;height:14px;z-index:6;" align="left">
<font style="font-size:11px" color="#000000" face="Arial">Hausnummer</font></div>
<input type="text" id="Editbox4" style="position:absolute;left:166px;top:102px;width:200px;font-family:Courier New;font-size:16px;z-index:7" name="Editbox4" value="">
<div id="wb_Text6" style="position:absolute;left:10px;top:131px;width:146px;height:14px;z-index:8;" align="left">
<font style="font-size:11px" color="#000000" face="Arial">PLZ</font></div>
<input type="text" id="Editbox5" style="position:absolute;left:166px;top:131px;width:200px;font-family:Courier New;font-size:16px;z-index:9" name="Editbox5" value="">
<div id="wb_Text7" style="position:absolute;left:10px;top:160px;width:146px;height:14px;z-index:10;" align="left">
<font style="font-size:11px" color="#000000" face="Arial">Ort</font></div>
<input type="text" id="Editbox6" style="position:absolute;left:166px;top:160px;width:200px;font-family:Courier New;font-size:16px;z-index:11" name="Editbox6" value="">
<div id="wb_Text8" style="position:absolute;left:10px;top:189px;width:146px;height:14px;z-index:12;" align="left">
<font style="font-size:11px" color="#000000" face="Arial">Telefon</font></div>
<input type="text" id="Editbox7" style="position:absolute;left:166px;top:189px;width:200px;font-family:Courier New;font-size:16px;z-index:13" name="Editbox7" value="">
<div id="wb_Text9" style="position:absolute;left:10px;top:218px;width:146px;height:14px;z-index:14;" align="left">
<font style="font-size:11px" color="#000000" face="Arial">Fax</font></div>
<input type="text" id="Editbox8" style="position:absolute;left:166px;top:218px;width:200px;font-family:Courier New;font-size:16px;z-index:15" name="Editbox8" value="">
<div id="wb_Text10" style="position:absolute;left:10px;top:247px;width:146px;height:14px;z-index:16;" align="left">
<font style="font-size:11px" color="#000000" face="Arial">Mobil</font></div>
<input type="text" id="Editbox9" style="position:absolute;left:166px;top:247px;width:200px;font-family:Courier New;font-size:16px;z-index:17" name="Editbox9" value="">
<div id="wb_Text11" style="position:absolute;left:10px;top:276px;width:146px;height:14px;z-index:18;" align="left">
<font style="font-size:11px" color="#000000" face="Arial">eMail</font></div>
<input type="text" id="Editbox10" style="position:absolute;left:166px;top:276px;width:200px;font-family:Courier New;font-size:16px;z-index:19" name="Editbox10" value="">
<div id="wb_Text12" style="position:absolute;left:10px;top:305px;width:146px;height:14px;z-index:20;" align="left">
<font style="font-size:11px" color="#000000" face="Arial">Betreff</font></div>
<select name="Bitte auswählen" size="1" id="Combobox1" onselect="ShowObject('wb_Form1', 1);return false;" style="position:absolute;left:166px;top:305px;width:200px;font-family:Courier New;font-size:16px;z-index:21">
<option selected>Anfrage Zählerschränke</option>
<option selected>Anfrage Verteilerschränke</option>
</select>
<input type="submit" id="Button1" onclick="ShowObject('wb_Form1', 1);return false;" name="Anfrage per Mail schicken" value="Submit" style="position:absolute;left:166px;top:334px;width:96px;height:25px;font-family:Arial;font-size:13px;z-index:22">
<div id="wb_Text13" style="position:absolute;left:10px;top:364px;width:146px;height:14px;z-index:23;" align="left">
<font style="font-size:11px" color="#000000" face="Arial">Bitte den Code eingeben:</font></div>
<div id="wb_Captcha1" style="position:absolute;left:166px;top:364px;width:200px;height:38px;z-index:24;" align="left">
<img src="captcha1.php" alt="Click for new image" title="Click for new image" style="cursor:pointer;width:100px;height:38px;" onclick="this.src='captcha1.php?'+Math.random()">
<input type="text" id="Captcha1Edit" style="position:absolute;left:105px;top:14px;width:100px;font-family:Courier New;font-size:16px;" name="captcha_code" value=""></div>
</form>
</div>
<div id="wb_MasterPage1" style="position:absolute;left:0px;top:0px;width:869px;height:456px;z-index:32;" align="left">
<div id="wb_NavigationBar2" style="position:absolute;left:9px;top:50px;width:860px;height:25px;z-index:25;" align="left">
<table border="0" cellpadding="0" cellspacing="0" id="NavigationBar2">
<tr>
<td align="left" valign="top" width="140" height="25"><a href="./index.html"><img id="img0007" src="images/img0007.gif" alt="" align="top" border="0" width="140" height="25" onmouseover="SwapImage(1,0,'img0007','images/img0007_over.gif')" onmouseout="SwapImage(0,0,'img0007','images/img0007.gif')"></a></td>
<td width="4"></td><td align="left" valign="top" width="140" height="25"><a href="./seite1.html"><img id="img0001" src="images/img0001.gif" alt="" align="top" border="0" width="140" height="25" onmouseover="SwapImage(1,0,'img0001','images/img0001_over.gif')" onmouseout="SwapImage(0,0,'img0001','images/img0001.gif')"></a></td>
<td width="4"></td><td align="left" valign="top" width="140" height="25"><a href=""><img id="img0004" src="images/img0004.gif" alt="" align="top" border="0" width="140" height="25" onmouseover="SwapImage(1,0,'img0004','images/img0004_over.gif')" onmouseout="SwapImage(0,0,'img0004','images/img0004.gif')"></a></td>
<td width="4"></td><td align="left" valign="top" width="140" height="25"><a href="./seite3.html"><img id="img0003" src="images/img0003.gif" alt="" align="top" border="0" width="140" height="25" onmouseover="SwapImage(1,0,'img0003','images/img0003_over.gif')" onmouseout="SwapImage(0,0,'img0003','images/img0003.gif')"></a></td>
<td width="4"></td><td align="left" valign="top" width="140" height="25"><a href="./seite2.php"><img id="img0002" src="images/img0002.gif" alt="" align="top" border="0" width="140" height="25" onmouseover="SwapImage(1,0,'img0002','images/img0002_over.gif')" onmouseout="SwapImage(0,0,'img0002','images/img0002.gif')"></a></td>
<td width="4"></td><td align="left" valign="top" width="140" height="25"><a href="./seite5.html"><img id="img0005" src="images/img0005.gif" alt="" align="top" border="0" width="140" height="25" onmouseover="SwapImage(1,0,'img0005','images/img0005_over.gif')" onmouseout="SwapImage(0,0,'img0005','images/img0005.gif')"></a></td>
</tr>
</table>
</div>
<div id="wb_Text2" style="position:absolute;left:0px;top:3px;width:158px;height:53px;z-index:26;" align="center">
<font style="font-size:48px" color="#000000" face="Scott">GeTec</font></div>
<div id="wb_Line1" style="position:absolute;left:1px;top:0px;width:0px;height:41px;z-index:27;" align="left">
<img src="images/img0012.png" id="Line1" align="top" alt="" title="" border="0" width="8" height="49"></div>
<div id="wb_Line2" style="position:absolute;left:1px;top:43px;width:863px;height:0px;z-index:28;" align="left">
<img src="images/img0013.png" id="Line2" align="top" alt="" title="" border="0" width="871" height="8"></div>
<div id="wb_Marquee1" style="position:absolute;left:158px;top:17px;width:710px;height:29px;z-index:29;" align="left">
<marquee direction="left" height="29" scrolldelay="100" scrollamount="6" behavior="alternate" loop="0" style="background-color:transparent;" id="Marquee1"><font style="font-size:24px" color="#000000" face="Times New Roman">Wir Verteilen Energie<br>
</font></marquee></div>
</div>
</body>
</html>
mfg Amsel00