la pagina l'ho appena cambiata tramite filezilla e l'ho rinominata php, ma appena cerco di spedire una mail mi dice:Pagina non trovata (errore 404)
La pagina http://www.marianus.altervista.org/contact/%3C?php%20echo%20basename(__FILE__);%20?%3E non è presente.
Come mai?
Questo e' quanto scritto dentro il form:
Codice HTML:
<div id="bv_Form1" style="position:absolute;width:305px;height:253px;">
<form name="email" method="post" action="<?php echo basename(__FILE__); ?>" id="Form1" onsubmit="return Validateemail(this)">
<div id="bv_Text5" style="margin:0;padding:0;position:absolute;left:11px;top:16px;width:65px;height:16px;text-align:left;z-index:8;">
<font style="font-size:13px" color="#000000" face="Arial">Email:</font></div>
<input type="text" id="Editbox1" style="position:absolute;left:85px;top:15px;width:198px;height:22px;font-family:'Courier New';font-size:16px;z-index:9" name="Email" value="">
<div id="bv_Text6" style="margin:0;padding:0;position:absolute;left:11px;top:44px;width:69px;height:32px;text-align:left;z-index:10;">
<font style="font-size:13px" color="#000000" face="Arial">Onderwerp:</font></div>
<input type="text" id="Editbox2" style="position:absolute;left:85px;top:44px;width:198px;height:22px;font-family:'Courier New';font-size:16px;z-index:11" name="Subject" value="">
<div id="bv_Text7" style="margin:0;padding:0;position:absolute;left:11px;top:73px;width:65px;height:16px;text-align:left;z-index:12;">
<font style="font-size:13px" color="#000000" face="Arial">Message:</font></div>
<textarea name="Message" id="TextArea1" style="position:absolute;left:11px;top:95px;width:273px;height:98px;font-family:Ebrima;font-size:16px;z-index:13" rows="2" cols="23"></textarea>
<input type="submit" id="Button1" name="Send" value="Send" style="position:absolute;left:11px;top:200px;width:57px;height:25px;font-family:Arial;font-size:13px;z-index:14">
</form>
</div>
Questa e' tutta la pagina del sito dove c'e' il form, prima parte:
Codice HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Stoffeerderij Benty - Contact</title>
<meta name="GENERATOR" content="Created by BlueVoda Website builder http://www.bluevoda.com">
<meta name="HOSTING" content="Hosting Provided By VodaHost http://www.vodahost.com">
<link rel="shortcut icon" href="image 027.ico">
<style type="text/css">
div#container
{
width: 982px;
position: relative;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
text-align: left;
}
</style>
<style type="text/css">
body
{
text-align: center;
margin: 0;
background-color: #FFFFFF;
background-image: url(images/Tela.jpg);
color: #000000;
}
</style>
<style type="text/css">
a:hover
{
color: #90F518;
}
</style>
<script type="text/javascript" src="./jquery-1.4.2.min.js"></script>
<style type="text/css">
#NavigationBar2 ul.navbar
{
list-style: none;
margin: 0;
padding: 0;
}
#NavigationBar2 ul.navbar li
{
height: 36px;
width: 140px;
margin: 0px 0px 10px 0px;
vertical-align: bottom;
}
#NavigationBar2 ul.navbar li a
{
display: block;
position: relative;
}
#NavigationBar2 ul.navbar li a img
{
position: absolute;
z-index: 1;
border-width: 0px;
}
#NavigationBar2 ul.navbar li span
{
display: block;
height: 36px;
width: 140px;
position: absolute;
z-index: 2;
}
</style>
<style type="text/css">
#TabMenu1
{
text-align: left;
margin: 0px 0 1px 0;
font-family: "MV Boli";
font-size: 16px;
font-weight: normal;
list-style-type: none;
padding: 4px 0px 3px 0px;
}
#TabMenu1 li
{
display: inline;
}
#TabMenu1 a:link.active, #TabMenu1 a:visited.active, #TabMenu1 a:hover.active
{
border-bottom: 1px solid #D2D2D2;
background-color: #D2D2D2;
color: #D2D2D2;
position: relative;
padding-top: 3px;
font-weight: normal;
text-decoration: none;
}
#TabMenu1 a:link, #TabMenu1 a:visited
{
padding: 3px 4px;
border: 1px solid #E6E6FA;
background-color: #878787;
color: #FFFFFF;
margin-right: 0px;
text-decoration: none;
border-bottom: none;
}
#TabMenu1 a:hover
{
background: #FFFFFF;
color: #000000;
font-weight: normal;
text-decoration: none;
}
</style>
<style type="text/css">
#TabMenu2
{
text-align: left;
margin: 0px 0 1px 0;
font-family: "MV Boli";
font-size: 16px;
font-weight: normal;
list-style-type: none;
padding: 4px 0px 3px 0px;
}
#TabMenu2 li
{
display: inline;
}
#TabMenu2 a:link.active, #TabMenu2 a:visited.active, #TabMenu2 a:hover.active
{
border-bottom: 1px solid #D2D2D2;
background-color: #D2D2D2;
color: #D2D2D2;
position: relative;
padding-top: 3px;
font-weight: normal;
text-decoration: none;
}
#TabMenu2 a:link, #TabMenu2 a:visited
{
padding: 3px 4px;
border: 1px solid #E6E6FA;
background-color: #878787;
color: #FFFFFF;
margin-right: 0px;
text-decoration: none;
border-bottom: none;
}
#TabMenu2 a:hover
{
background: #FFFFFF;
color: #000000;
font-weight: normal;
text-decoration: none;
}
</style>
<style type="text/css">
#TabMenu3
{
text-align: left;
margin: 0px 0 1px 0;
font-family: "MV Boli";
font-size: 16px;
font-weight: normal;
list-style-type: none;
padding: 4px 0px 3px 0px;
}
#TabMenu3 li
{
display: inline;
}
#TabMenu3 a:link.active, #TabMenu3 a:visited.active, #TabMenu3 a:hover.active
{
border-bottom: 1px solid #D2D2D2;
background-color: #D2D2D2;
color: #D2D2D2;
position: relative;
padding-top: 3px;
font-weight: normal;
text-decoration: none;
}
#TabMenu3 a:link, #TabMenu3 a:visited
{
padding: 3px 4px;
border: 1px solid #E6E6FA;
background-color: #878787;
color: #FFFFFF;
margin-right: 0px;
text-decoration: none;
border-bottom: none;
}
#TabMenu3 a:hover
{
background: #FFFFFF;
color: #000000;
font-weight: normal;
text-decoration: none;
}
</style>
<script type="text/javascript">
<!--
function Validateemail(theForm)
{
var regexp;
regexp = /^([0-9a-z]([-.\w]*[0-9a-z])*@(([0-9a-z])+([-\w]*[0-9a-z])*\.)+[a-z]{2,6})$/i;
if (!regexp.test(theForm.Editbox1.value))
{
alert("Please enter a valid email address.");
theForm.Editbox1.focus();
return false;
}
if (theForm.Editbox1.value == "")
{
alert("Please enter a value for the \"Email\" field.");
theForm.Editbox1.focus();
return false;
}
regexp = /^[A-Za-zƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ]*$/;
if (!regexp.test(theForm.Editbox2.value))
{
alert("Please enter only letter characters in the \"Onderwep\" field.");
theForm.Editbox2.focus();
return false;
}
if (theForm.Editbox2.value == "")
{
alert("Please enter a value for the \"Onderwep\" field.");
theForm.Editbox2.focus();
return false;
}
regexp = /^[A-Za-zƒŠŒŽšœžŸÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ]*$/;
if (!regexp.test(theForm.TextArea1.value))
{
alert("Please enter only letter characters in the \"Message\" field.");
theForm.TextArea1.focus();
return false;
}
if (theForm.TextArea1.value == "")
{
alert("Please enter a value for the \"Message\" field.");
theForm.TextArea1.focus();
return false;
}
return true;
}
//-->
</script>
<script type="text/javascript">
$(document).ready(function()
{
$("#NavigationBar2 .navbar a").hover(function()
{
$(this).children("span").hide();
}, function()
{
$(this).children("span").show();
})
$("#TabMenu1 .navbar a").hover(function()
{
$(this).children("span").hide();
}, function()
{
$(this).children("span").show();
})
$("#TabMenu2 .navbar a").hover(function()
{
$(this).children("span").hide();
}, function()
{
$(this).children("span").show();
})
$("#TabMenu3 .navbar a").hover(function()
{
$(this).children("span").hide();
}, function()
{
$(this).children("span").show();
})
});
</script>
<!--[if lt IE 7]>
<style type="text/css">
img { behavior: url("pngfix.htc"); }
</style>
<![endif]-->
</head>
<body>