youlichika
02 Oct 2010, 09:24 AM
I use below code, it back some warning:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent in C:\www\htdocs\search.php on line 65
This is the code on line 65:
<? session_start();
if($_SERVER['REQUEST_METHOD']=="POST") {
$_SESSION["name1"] = $_POST["name1"] ;
$_SESSION["name2"] = $_POST["name2"] ;
$_SESSION["name3"] = $_POST["name3"] ;
}
?>
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent in C:\www\htdocs\search.php on line 65
This is the code on line 65:
<? session_start();
if($_SERVER['REQUEST_METHOD']=="POST") {
$_SESSION["name1"] = $_POST["name1"] ;
$_SESSION["name2"] = $_POST["name2"] ;
$_SESSION["name3"] = $_POST["name3"] ;
}
?>