0
I have this code to log in to my website:
session_start();
ob_start();
define('URL', 'http://www.pardaldobico.com.br/');
define('CONTROLER', 'home');
define('METODO', 'index');
header('Content-Type: text/html; charset=utf-8');
But the server is showing this error:
PHP Warning: session_start(): Cannot send Session cache Limiter - headers already sent (output Started at /home/pardaldobicocom/public_html/index.php:14) in /home/pardaldobicocom/public_html/config/Config.php on line 2
PHP Warning: Cannot Modify header information - headers already sent by (output Started at /home/pardaldobicocom/public_html/index.php:14) in /home/pardaldobicocom/public_html/config/Config.php on line 8
Can someone help me?
The second message has a topic on it : https://answall.com/questions/4251/erro-cannot-modify-header-information
– Paulo Sérgio Duff
Hello Francene Arnaut, welcome! Read this post https://pt.meta.stackoverflow.com/questions/1078/como-e-por-que-aceitar-uma-resposta/1079#1079
– user60252