hej
tusind Mange tak for det.
Jeg har prøvet at indtaste det ind, men der kommer dette op:
http://www.billedeupload.dk/photo/2009-03/1c31da7a/Nyt%20billede.bmp.html(Man skal nok lige klikke på billeder for at se det)
Når jeg klikker på send, kommer dette i adresselinjen:
http://www.billedeupload.dk/photo/2009-03/9229e2f2/billede1.bmp.htmlBillederne loader rimelig langsomt..
Min kode ser sådan ud:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "
http://www.w3.org/TR/html4/strict.dtd"><html>
<head>
<?php if (isset($_POST['submit']) && !empty($_POST['navn'])) {
// -- Modtager email-adresse -- //
$modtager = 'mads-privat@hotmail.com';
// -- Kontaktoplysninger -- //
$afsenders_navn = $_POST['navn'];
$afsenders_email = $modtager; // -- Besked -- //
$besked = "Din besked her";
// -- Emne -- //
$emne = 'Kontaktmail fra din hjemmeside';
// -- Headers -- //
$headers = 'From: "'.$afsenders_navn.'" <'.$afsenders_email.'>
Reply-To: "'.$afsenders_navn.'" <'.$afsenders_email.'>;
X-Mailer: PHP/'.phpversion().';
Content-Type:text/plain; charset="iso-8859-1";';
// -- Send mail -- //
mail($modtager, $emne, $besked, $headers);
header("Location:
http://www.himmelbjergegnens.dk/jubilaeum25/tilmelding.html");
}
?>
<title>Tilmelding</title>
<link rel="stylesheet" type="text/css"
href="css/billeder.css">
<style type="text/css">
<!--
.style2 {font-size: 12px}
-->
</style>
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript1.1">
<!--
// Mili sekund mellem billederne
var slidespeed=4000
//specifikke images
var slideimages=new Array("img/slideshow/Billede1.jpg","img/slideshow/Billede2.jpg","img/slideshow/Billede3.jpg","img/slideshow/Billede4.jpg","img/slideshow/Billede5.jpg","img/slideshow/Billede6.jpg","img/slideshow/Billede7.jpg","img/slideshow/billede8.jpg","img/slideshow/billede9.jpg","img/slideshow/billede10.jpg","img/slideshow/billede11.jpg","img/slideshow/billede12.jpg")
var imageholder=new Array()
var ie=document.all
for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="css/links.css" rel="stylesheet"
type="text/css">
<meta name="Generator" content="Stone's WebWriter 4">
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style5 {font-size: 24px}
-->
</style>
</head>
<body class="baggrund"
onload="MM_preloadImages('img/hesteefter.jpg','img/nuvarendeholdefter.jpg','img/undervisningorange.jpg','img/galleriorange.jpg','img/infoorange.jpg','img/orienteringslobefter.jpg','img/friluftslivefter.jpg','img/adventureefter.jpg','img/forsideorange.jpg')">
<center>
<table border="0" cellpadding="0" cellspacing="0"
width="728">
<tbody>
<tr>
<td colspan="2" align="left">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="banner1" colspan="6"
align="left"> </td>
</tr>
<tr>
<td class="banner2" style="width: 410px;"
cellpadding="0" cellspacing="0" width="410"> </td>
<td width="58"><a href="index.htm"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('forside','','img/forsideorange.jpg',1)"><img
src="img/forside.jpg" name="forside" id="forside"
border="0" height="53" width="58"></a></td>
<td width="82"><a href="undervisning.html"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Image11','','img/undervisningorange.jpg',1)"><img
src="img/undervisning.jpg" name="Image11" id="Image11"
border="0" height="53" width="82"></a></td>
<td width="57"><a href="galleri.html"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Image12','','img/galleriorange.jpg',1)"><img
src="img/galleri.jpg" name="Image12" id="Image12"
border="0" height="53" width="57"></a></td>
<td width="57"><a href="info.html"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Image13','','img/infoorange.jpg',1)"><img
src="img/info.jpg" name="Image13" id="Image13"
border="0" height="53" width="57"></a></td>
<td width="66"><a href="tilmelding.php"><img
src="img/tilmeldingorange.jpg" border="0" height="53"
width="66"></a></td>
</tr>
<tr>
<td colspan="6" align="left">
<table border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<td rowspan="3" height="139"
valign="top" width="550"><object height="139"
width="550"><param name="movie" value="banner.swf">
<embed src="banner.swf" height="139"
width="550"></object></td>
<td class="bgcolor" height="28"
valign="top" width="180"><a
href="Nuvarendehold.html" onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Nuvarende Hold','','img/nuvarendeholdefter.jpg',1)"><img
src="img/nuvarendehold.jpg" alt="nuværende hold"
name="Nuvarende Hold" id="Nuvarende Hold" border="0"
height="25" width="180"></a></td>
</tr>
<tr>
<td class="bgcolor" img=""
src="nuvarendehold.jpg" alt="Nuvarende Hold" height="111"
valign="top" width="180">
<div align="center"><a
href="Nuvarendehold.html"><img
src="img/nuvaerendeelever.jpg" alt="nuværende hold"
align="middle" border="0" height="100" width="134"></a></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td class="vstreg" colspan="6"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2">
<table align="left" border="0" cellpadding="0"
cellspacing="0" width="730">
<tbody>
<tr>
<td class="bgcolor" rowspan="3"
align="left" valign="top" width="163">
<table border="0" cellpadding="0"
cellspacing="0" width="163">
<tbody>
<tr>
<td =""></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td class="links"> </td>
</tr>
<tr>
<td class="links"> </td>
</tr>
<tr>
<td class="links"> </td>
</tr>
<tr>
<td class="links"></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</tbody>
</table>
</td>
<td class="lstreg" rowspan="3" align="left"
valign="top" width="7"> </td>
<td colspan="5" class="bgcolor"
align="left" valign="top">
<p> </p>
</td>
</tr>
<tr>
<td colspan="6" class="bgcolor"
align="left" valign="top">
<form action="<?php echo $_SERVER[" php_self=""
]="" ?=""><br>
<center></center>
<table border="0" cellpadding="2"
cellspacing="0" width="100%">
<tbody>
<tr>
<td colspan="2">
<p align="center"> <span
class="style5">Tilmelding</span><br>
Her kan du søge om optagelse </p>
</td>
</tr>
<tr>
<td width="42%">
<label for="navn">Skriv dit navn:
</label><br>
<input name="navn" id="kontakt_navn"
size="30" class="inputbox" value="" type="text">
<input name="submit" value="Send"
class="button" type="submit"></td>
<br>
</tr>
<tr>
<td width="58%"><br>
</td>
</tr>
</tbody><tbody>
<tr>
<td></td>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
</tbody>
</table>
</form>
<p> </p>
<table border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
</tr>
</tbody>
</table>
<p> </p>
</td>
</tr>
<tr>
<td align="left" valign="top" width="135"><a
href="orienteringslob.html" onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('orienteringslob','','img/orienteringslobefter.jpg',1)"><img
src="img/orienteringslob.jpg" alt="orienteringsløb"
name="orienteringslob" id="orienteringslob" border="0"
height="131" width="139"></a></td>
<td align="left" valign="top" width="131"><a
href="adventurerace.html" onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('adventurerace','','img/adventureefter.jpg',1)"><img
src="img/adventure.jpg" name="adventurerace"
id="adventurerace" border="0" height="131"
width="130"></a></td>
<td align="left" valign="top" width="125"><a
href="friluftsliv.html" onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('friluftsliv','','img/friluftslivefter.jpg',1)"><img
src="img/friluftsliv.jpg" alt="friluftsliv"
name="friluftsliv" id="friluftsliv" border="0"
height="131" width="126"></a></td>
<td align="left" valign="top" width="1"></td>
<td class="bgcolor" align="right"
valign="top" width="168"><a href="heste.html"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('heste','','img/hesteefter.jpg',1)"><img
src="img/heste.jpg" name="heste" id="heste"
border="0" height="131" width="167"></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td class="bgcolor" align="center" width="172"> </td>
<td class="bgcolor" align="center" width="558">
<div class="style2" align="left">
<div align="center">Himmelbjergegnens Natur
& Idrætsefterskole - Vesterled 1 - Tlf: 86898399 - <a
href="mailto:en@email.dk?subject=ang:&body=Til+himmelbjergegnens+Natur+og+Idr%E6tsefterskole.">en@email.dk</a></div>
</div>
</td>
</tr>
</tbody>
</table>
</center>
</body>
</html>
Hvad er det jeg gør forkert?
Med Venlig Hilsen
Mads