Wednesday, May 8, 2013

PHP Notice: A session had already been started - ignoring session_start()

I got this problem when redirect link location, but resolved this issue
this way:


Just put ob_start() function at beginning of the codes
< ?
ob_start();
header("location:home.php");
?>

3 comments: