I really wonder that why that warning occurred. I think my code is okay, but it said that headers already sent(output started at ...../request.php:1)in ...../request.php on line 2
Here is my code
<?php
session_start();
if(!isset($_SESSION['login'])){
session_destroy();
header("Location:login.php");
exit();
}
include_once("action.php");
?>
Please help me out, Thank in advance