Hi,
I am getting the following error in my index.php:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/meskholdings/meskholdings.com/jobs/index.php:1) in /home/meskholdings/meskholdings.com/jobs/index.php on line 3
I checked my code and my session_start() is the first line. cany anyone help please...
this is my index.php:
<?php
include("php_header.php");
include("connect2db.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
and this is my php_header.php:
<?php
ob_start();
if(!isset($_SESSION)) { session_start(); }
// report all errors;
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL & ~E_NOTICE);
?>