Window.open
Tengo este error cuando con java script quiero desplegar una pagina php y revice los permisos y estan bien tambien las cabeceras.
Espero que me puedan ayudar
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Espero que me puedan ayudar
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Hola.
No es demasiado claro.
que tal si subis el c贸digo o me lo mandas por
mail.
No es demasiado claro.
que tal si subis el c贸digo o me lo mandas por
mail.
Este es el c贸digo de la p谩gina php que quiero desplegar con la funcion window.open de java script
<html>
<head>
<title>Envio de Correo</title>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../compiteestilo.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
if(!isset($_POST["de"]))
{
echo "
<form action=parawebmaster.php method=post>
<table width=50% border=1>
<tr>
<th colspan=2>
Tus Comentarios son Importantes para Mejorar
</th>
</tr>
<tr>
<td>
De:
</td>
<td><input name=de type=text size=30 maxlength=30></td>
</tr>
<tr>
<td>Asunto:</td>
<td><input name=asunto type=text size=30 maxlength=30></td>
</tr>
<tr>
<th colspan=2>Mensaje:<br><textarea name=mensaje cols=50 rows=10></textarea></th>
</tr>
<tr>
<td colspan=2><center><input name=Enviar type=submit value=Enviar></center></td>
</tr>
</table>
</form>";
}
else
{
$asunto=$_POST["asunto"];
$mensaje=$_POST["mensaje"];
$de=$_POST["de"];
mail("[email protected]",$asunto,$mensaje, "From:$de");
echo "Mensaje Enviado";
}
?>
<div align="left"><br>
<strong><font color="#000066" size="4" face="Verdana, Arial, Helvetica, sans-serif"><a href="javascript:close()">Cerrar Ventana</a></font></strong>
</div>
</body>
</html>
<html>
<head>
<title>Envio de Correo</title>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../compiteestilo.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
if(!isset($_POST["de"]))
{
echo "
<form action=parawebmaster.php method=post>
<table width=50% border=1>
<tr>
<th colspan=2>
Tus Comentarios son Importantes para Mejorar
</th>
</tr>
<tr>
<td>
De:
</td>
<td><input name=de type=text size=30 maxlength=30></td>
</tr>
<tr>
<td>Asunto:</td>
<td><input name=asunto type=text size=30 maxlength=30></td>
</tr>
<tr>
<th colspan=2>Mensaje:<br><textarea name=mensaje cols=50 rows=10></textarea></th>
</tr>
<tr>
<td colspan=2><center><input name=Enviar type=submit value=Enviar></center></td>
</tr>
</table>
</form>";
}
else
{
$asunto=$_POST["asunto"];
$mensaje=$_POST["mensaje"];
$de=$_POST["de"];
mail("[email protected]",$asunto,$mensaje, "From:$de");
echo "Mensaje Enviado";
}
?>
<div align="left"><br>
<strong><font color="#000066" size="4" face="Verdana, Arial, Helvetica, sans-serif"><a href="javascript:close()">Cerrar Ventana</a></font></strong>
</div>
</body>
</html>