Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/03/2010, 09:51
Avatar de ruxee
ruxee
Usuario no validado
 
Fecha de Ingreso: agosto-2002
Ubicación: USA
Mensajes: 131
Antigüedad: 21 años, 8 meses
Puntos: 7
Warning: ob_start() has been disabled?

He usado esta forma de manejar mis buffers en PHP desde que aprendi el lenguaje y nunca me habia salido este mensaje. No encuentro informacion al respecto


Warning: ob_start() has been disabled for security reasons in index.php on line 1


Lo que hago es usar unas funciones para autenticar a mis usuarios logeados y es un script que baje de algun foro hace tiempo y ha sido eficiente hasta hoy. Tiene la siguiente estructura:

INDEX.PHP, que contiene el login
Código PHP:
<? ob_start(); ?>
<!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" />
<link rel="shortcut icon" href="favicon.ico">
.....
</body>
</html>
<? ob_end_flush(); ?>
MAIN.PHP es la pagina principal donde inicio la session
Código PHP:
<? ob_start();     
    include 
"includes/pdtAuth_functions.php";
    
phpAuth_chk_login();
    include 
"includes/pdtAuth_config.php";?>
.....
</body>
</html>
<? ob_end_flush(); ?>
Alguien sabe porque me sale?