![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
07/02/2011, 17:22
|
![Avatar de genaro_belen](http://static.forosdelweb.com/customavatars/avatar379909_1.gif) | | | Fecha de Ingreso: diciembre-2010 Ubicación: Santo Domingo, RD
Mensajes: 94
Antigüedad: 14 años, 2 meses Puntos: 3 | |
Respuesta: Formulario se reenvia al presionar F5 : PHP Yo tengo esto: y en mi servidor local funciona correctamente, pero cuando lo subo al hosting pues alli me da el siguiente error.
Warning: Cannot modify header information - headers already sent by (output started at /home1/polcompu/public_html/montires/cabecera.php:10) in /home1/polcompu/public_html/montires/reservar.php on line 82
if ($_POST)
{
$res_nombre_cliente = $_POST["txtNombreCliente"];
$res_email_cliente = $_POST["txtEmailCliente"];
reservar($res_nombre_cliente, $res_email_cliente)
mail("$remitente,$destinatario",$asunto,$cuerpodel correo,$headers);
header("location: reservar.php");
}
ahora bien, cuando dices que header no puede estar antecededido por ningun codigo, ahi como esta?... esta bien?
muchas gracias.... |