Ver Mensaje Individual
Antiguo 28-abr-2008, 15:13   #4 (permalink)
GatorV
Moderador
GatorV llegará a ser famoso muy prontoGatorV llegará a ser famoso muy prontoGatorV llegará a ser famoso muy prontoGatorV llegará a ser famoso muy prontoGatorV llegará a ser famoso muy pronto
 
Avatar de GatorV
 
Fecha de Ingreso: mayo-2006
Ubicación: Queretaro, Mexico
Mensajes: 11.280
Re: Controlador con includes y headers

Prueba agregar el exit:
Código PHP:
//Clase accion
class Accion
{
// Me salto el constructor y demas...
function ejecutar()
{
   
header("Location: controlador.php?accion=".$_GET["accion"]);
   exit();

Saludos.
__________________
Blog Web
GatorV está desconectado   Responder Citando