Hola amigos, soy tan nuevo en este foro como en diseño y programacion web.
He creado una web con dreamweaver cs4 donde incluyo un formulario de contacto el cual cuando se rellena y le das a enviar da el error:
Forbidden
You don't have permission to access /validacion.php on this server. 
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. 
El Html es el siguiente
<form action="validacion.php" method="post" name="form1" id="form1">
              <table width="70%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><p style="background-color: #7F0102; color: #FDFFB3; text-align: center">A traves de este formulario haganos llegar sus opiniones y sugerencias o socilite informacion. </p></td>
                </tr>
              </table>
              <table width="70%" border="0" cellpadding="0" cellspacing="0" onfocus="MM_validateForm('nombre','','R','telefono  ','','NisNum','email','','RisEmail');return document.MM_returnValue">
                <tr>
                  <td bgcolor="#FDFFB3">Nombre</td>
                </tr>
                <tr>
                  <td><label>
                    <input name="nombre" type="text" id="nombre" size="80" maxlength="80" />
                  </label></td>
                </tr>
                <tr>
                  <td>Telefono</td>
                </tr>
                <tr>
                  <td><label>
                    <input name="telefono" type="text" id="telefono" size="80" maxlength="80" />
                  </label></td>
                </tr>
                <tr>
                  <td>Email</td>
                </tr>
                <tr>
                  <td><label>
                    <input name="email" type="text" id="email" size="80" maxlength="80" />
                  </label></td>
                </tr>
                <tr>
                  <td>Comentario</td>
                </tr>
                <tr>
                  <td><label>
                    <textarea name="comentario" id="comentario" cols="63" rows="5"></textarea>
                  </label></td>
                </tr>
                <tr>
                  <td style="text-align: center"><label>
                    <input type="submit" name="Enviar" id="enviar" value="Enviar" />
                  </label></td>
                </tr>
              </table>
              <p> </p>
              <p> </p>
            </form> 
y el PHP es: 
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>validacion</title>
</head> 
<body>
<? 
// definimos las variables o marcamos el error
 if ( !empty($_POST['nombre']) ) $nombre = $_POST['nombre']; else $error = true;
 if ( !empty($_POST['telefono']) ) $telefono = $_POST['telefono']; else $error = true;
 if ( !empty($_POST['email']) ) $email = $_POST['email']; else $error = true;
 if ( !empty($_POST['comentario']) ) $comentario = $_POST['comentario']; else $error = true; 
// verificamos que no exista un error
 if ( !empty($error) ) {
 header( ‘Location: contacto_error.php’ );
 die;
 } 
// definimos el cuerpo del email
 $cuerpo = “
 De: $nombre \n\r
 telefono: $telefono \n\r
 email: $email \n\r
 comentario: \n\r
 $comentario
 "; 
// enviamos el email
 if ( mail( ‘
[email protected]’,'Recibiste un mensaje a través del formulario de contacto de tu sitio’,$cuerpo ) ) {
 header( ‘Location: contacto_exitoso.php’ );
 die;
 } else {
 header( ‘Location: contacto_error.php’ );
 die;
 }
 ?>
</body>
</html>